[swift-build-dev] Should SPM include paths in DYLD_LIBRARY_PATH while compiling?

Ankit Agarwal ankit at ankit.im
Mon Jan 4 20:33:01 CST 2016

I think yes, great! looking forward to see that.

On Tuesday 5 January 2016, Max Howell <max.howell at apple.com> wrote:

> DYLD_LIBRARY_PATH is not a build-time environment variable.
> I’m writing something up to deal with the need for supplemented library
> paths, though only in the context of module-map-packages, will this suffice?
> if DYLD_LIBRARY_PATH is set with custom paths swift will be able to load
> those .so libraries and execute properly but SPM will not build the swift
> package unless the .so is in /usr/local/lib
> should spm include those paths while compiling or something other is
> planned for linking from custom locations?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.swift.org/pipermail/swift-build-dev/attachments/20160105/55d6fdb4/attachment.html>

More information about the swift-build-dev mailing list