[swift-build-dev] Should SPM include paths in DYLD_LIBRARY_PATH while compiling?
max.howell at apple.com
Mon Jan 4 18:05:42 CST 2016
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...
More information about the swift-build-dev