On Thu, 04 Dec 2014 23:19:00 +0300 Peter Zotov <[email protected]> wrote:
> I believe this should be done at the compiler level. Requiring every > native package to figure out what CFLAGS/LDFLAGS the current platform > wants is unreasonable. Agreed, and that's why (at least) gcc has C_INCLUDE_PATH and LIBRARY_PATH and those should be set by user in the environment (maybe permanently) if he wants to use packages installed in /usr/local or /opt or whatever, and this shouldn't be the deal of package manager to automatically make various paths available to the compiler without user's approval (because that can lead to conflicts if there are several versions of same library installed in different locations), IIUC. -- _______________________________________________ opam-devel mailing list [email protected] http://lists.ocaml.org/listinfo/opam-devel
