diff options
Diffstat (limited to 'config')
-rw-r--r-- | config/boost.m4 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/config/boost.m4 b/config/boost.m4 index 8eb1b7b18..80a696881 100644 --- a/config/boost.m4 +++ b/config/boost.m4 @@ -406,7 +406,7 @@ dnl generated only once above (before we start the for loops). LDFLAGS=$boost_save_LDFLAGS LIBS=$boost_save_LIBS if test x"$Boost_lib" = xyes; then - Boost_lib_LDFLAGS="-L$boost_ldpath -Wl,-R$boost_ldpath" + Boost_lib_LDFLAGS="-L$boost_ldpath -Wl,-rpath -Wl,$boost_ldpath" Boost_lib_LDPATH="$boost_ldpath" break 6 else |