2016-11-29 14:49:37 +01:00
|
|
|
|
2017-07-27 15:11:34 +02:00
|
|
|
|
|
|
|
diff --git a/src/aclocal.m4 b/src/aclocal.m4
|
2013-05-14 13:34:23 +02:00
|
|
|
--- a/src/aclocal.m4
|
|
|
|
+++ b/src/aclocal.m4
|
2017-07-27 15:11:34 +02:00
|
|
|
@@ -7517,7 +7517,7 @@ AC_DEFUN([AC_LIB_LINKFLAGS_BODY],
|
2013-05-14 13:34:23 +02:00
|
|
|
dnl When using libtool, the option that works for both libraries and
|
|
|
|
dnl executables is -R. The -R options are cumulative.
|
|
|
|
for found_dir in $ltrpathdirs; do
|
|
|
|
- LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }-R$found_dir"
|
|
|
|
+ LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }-Wl,-rpath-link$found_dir"
|
|
|
|
done
|
|
|
|
fi
|
|
|
|
popdef([P_A_C_K])
|