-
Type: Improvement
-
Resolution: Done
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
None
-
Dev Platform 2020-07-27
-
50
If $PREFIX is an absolute path then the RPATH used while linking should not include $ORIGIN and should only include $PREFIX_LIBDIR
If $PREFIX_LIBDIR is set, then the path relative to $ORIGIN should reflect this.
Today it is hard coded to $ORIGIN/../lib and so if $PREFIX_LIBDIR is set to book_room then the resulting binaries would not work if --link-model=dynamic.
- causes
-
SERVER-50043 Removal of Frameworks directory from RPATH broke macOS embedded builds
- Closed
- related to
-
SERVER-27504 Install libraries to $INSTALL_DIR and use it as the library search path
- Closed