diff options
author | Simon Warta <[email protected]> | 2015-06-22 11:12:39 +0200 |
---|---|---|
committer | Simon Warta <[email protected]> | 2015-06-22 11:12:39 +0200 |
commit | 624b21b900aee236d79da91ec18651710d3c31ed (patch) | |
tree | 5bd32f365fe6f7450e78237daafadca7f1a3b291 /src/build-data/makefile/header.in | |
parent | d1bf8d1193820cecf96df2acef7fa2dea9758d6a (diff) |
Set RPATH to $ORIGIN for ./botan and ./botan-test
This makes setting LD_LIBRARY_PATH obsolete when Botan lib and botan
/botan-test binary are in the same directory. This behavior is default
on Windows.
LD_LIBRARY_PATH can still be used to override the RPATH.
Diffstat (limited to 'src/build-data/makefile/header.in')
-rw-r--r-- | src/build-data/makefile/header.in | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/build-data/makefile/header.in b/src/build-data/makefile/header.in index d1a2ee3ef..dcc43592d 100644 --- a/src/build-data/makefile/header.in +++ b/src/build-data/makefile/header.in @@ -6,7 +6,9 @@ LANG_FLAGS = %{lang_flags} WARN_FLAGS = %{warn_flags} SO_OBJ_FLAGS = %{shared_flags} -LIB_LINK_CMD = %{so_link} +LIB_LINK_CMD = %{lib_link_cmd} +APP_LINK_CMD = %{app_link_cmd} +TEST_LINK_CMD = %{test_link_cmd} LIB_LINKS_TO = %{link_to} APP_LINKS_TO = $(LIB_LINKS_TO) |