Changes between Initial Version and Version 1 of Ticket #58574, comment 80
- Timestamp:
- Oct 27, 2020, 3:58:52 PM (4 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #58574, comment 80
initial v1 2 2 > Correct all around! So what I do is use `DYLD_LIBRARY_PATH` for the in-build paths and `DYLD_FALLBACK_LIBRARY_PATH` (and `LIBRARY_PATH` itself, which honestly is probably more important) for non-in-build-paths -- for example MP paths. I have the PKGCONFIG command return 2 variables instead of 1: the non"-L" entries and the "-L" entries. These are then handled separately, which means we've removed all of the system "-L" entries from the link command and instead rely on `DYLD_FALLBACK_LIBRARY_PATH` and `LIBRARY_PATH`. This in my testing was the most reliable and cleanest way to get these builds to work as well as be executable in-build. 3 3 4 Michael, is this straightforward enough, that you can provide a recommendedpatch to fix this?4 Michael, is this straightforward enough, that you can provide a patch to fix this?