[opam-devel] adding OPAM pkg-config path to env

Sebastien Mondet sebastien.mondet at gmail.com
Fri Jan 23 14:44:05 GMT 2015

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}%" ]


On Fri, Jan 23, 2015 at 8:52 AM, Anil Madhavapeddy <anil at recoil.org> 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
> opam-devel at lists.ocaml.org
> http://lists.ocaml.org/listinfo/opam-devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ocaml.org/pipermail/opam-devel/attachments/20150123/b7a2828f/attachment.html>

More information about the opam-devel mailing list