Re: advice need on how to avoid -custom
On Wed, Oct 15, 2008 at 11:29:12PM +0200, Stéphane Glondu wrote:
> Eric Cooper wrote:
> > 2. Figure out "by hand" which OCaml libraries need to be installed for
> > their runtime DLLs, and use conditional Makefile hackery to add them
> > to the Depends on bytecode-only archs. This is "optimal" but very
> > error-prone.
>
> You can conditionally do something like this:
>
> echo 'F:OCamlBytecodeDeps="libpcre-ocaml"' >> debian/substvars
>
> in the build target of your debian/rules, and use ${F:OCamlBytecodeDeps}
> in the Depends field of your debian/control.
Yes, but the error-prone part is finding all of the libraries that
approx build-depends on that also require DLL stubs. Can I assume that if
package lib*-ocaml-dev has a corresponding lib*-ocaml, it's because it
ships runtime DLLs?
--
Eric Cooper e c c @ c m u . e d u
Reply to: