Skip to content
Snippets Groups Projects
Commit c4ed377d authored by Ben Boeckel's avatar Ben Boeckel
Browse files

cdi: add rpath entries for libraries

parent 2a09a829
No related branches found
No related tags found
1 merge request!1154tests: add a test to make sure all libraries are loadable on Linux
......@@ -18,3 +18,7 @@ superbuild_add_project(cdi
INSTALL_COMMAND
$(MAKE) install
BUILD_IN_SOURCE 1)
if (NOT APPLE AND UNIX)
superbuild_append_flags(ld_flags "-Wl,-rpath,<INSTALL_DIR>/lib" PROJECT_ONLY)
endif ()
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment