Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Avoid hard-coded '../lib' in ApplicationContextBase
Another hard-coded library directory lurking in ApplicationContextBase was continuing to break relocatable builds on systems which default to 'lib64' as their library directory name. Although the RPATH was fixed in bf5eaaa, the relative path is also needed when we dynamically load the modules. The CMake script now writes a RELATIVE_LIBDIR variable into config.h which contains the relative part of the library directory (i.e. starting with ".."), and this RELATIVE_LIBDIR is now used both to set the RPATH in CMakeLists.txt and in ApplicationContextBase to load the modules.
- Loading branch information
Matthew Mott
committed
Dec 21, 2020
1 parent
5ae45ca
commit 737a8ae
Showing
3 changed files
with
10 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters