Just quoting Louis from a previous email (I haven't tried yet):

and, still in the ".comp" file, you should be able to add:
>
> env: [ "LD_LIBRARY_PATH" += "%{lib}%" ]
>

cheers
Seb




On Fri, Jan 23, 2015 at 8:52 AM, Anil Madhavapeddy <[email protected]> wrote:

> Do we have an open bug in OPAM about some mechanism to extend the
> environment exported by `opam config env`?
>
> It would be really convenient if it also exported PKG_CONFIG_PATH to point
> to `opam config show prefix`/lib/pkgconfig, and it would be even nicer if
> this could be done without modifying OPAM for every new environment
> variable.
>
> -a
>
> _______________________________________________
> opam-devel mailing list
> [email protected]
> http://lists.ocaml.org/listinfo/opam-devel
>
_______________________________________________
opam-devel mailing list
[email protected]
http://lists.ocaml.org/listinfo/opam-devel

Reply via email to