Changes between Initial Version and Version 1 of Ticket #58574, comment 80


Ignore:
Timestamp:
Oct 27, 2020, 3:58:52 PM (4 years ago)
Author:
mascguy (Christopher Nielsen)
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #58574, comment 80

    initial v1  
    22> 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.
    33
    4 Michael, is this straightforward enough, that you can provide a recommended patch to fix this?
     4Michael, is this straightforward enough, that you can provide a patch to fix this?