Blame SOURCES/cyrus-sasl-2.1.25-no_rpath.patch
|
|
c4de4d |
diff -up cyrus-sasl-2.1.25/m4/cyrus.m4.no_rpath cyrus-sasl-2.1.25/m4/cyrus.m4
|
|
|
c4de4d |
--- cyrus-sasl-2.1.25/m4/cyrus.m4.no_rpath 2010-01-22 16:12:01.000000000 +0100
|
|
|
c4de4d |
+++ cyrus-sasl-2.1.25/m4/cyrus.m4 2012-12-06 14:59:47.956102057 +0100
|
|
|
c4de4d |
@@ -32,14 +32,5 @@ AC_DEFUN([CMU_ADD_LIBPATH_TO], [
|
|
|
c4de4d |
dnl runpath initialization
|
|
|
c4de4d |
AC_DEFUN([CMU_GUESS_RUNPATH_SWITCH], [
|
|
|
c4de4d |
# CMU GUESS RUNPATH SWITCH
|
|
|
c4de4d |
- AC_CACHE_CHECK(for runpath switch, andrew_cv_runpath_switch, [
|
|
|
c4de4d |
- # first, try -R
|
|
|
c4de4d |
- SAVE_LDFLAGS="${LDFLAGS}"
|
|
|
c4de4d |
- LDFLAGS="-R /usr/lib"
|
|
|
c4de4d |
- AC_TRY_LINK([],[],[andrew_cv_runpath_switch="-R"], [
|
|
|
c4de4d |
- LDFLAGS="-Wl,-rpath,/usr/lib"
|
|
|
c4de4d |
- AC_TRY_LINK([],[],[andrew_cv_runpath_switch="-Wl,-rpath,"],
|
|
|
c4de4d |
- [andrew_cv_runpath_switch="none"])
|
|
|
c4de4d |
- ])
|
|
|
c4de4d |
- LDFLAGS="${SAVE_LDFLAGS}"
|
|
|
c4de4d |
- ])])
|
|
|
c4de4d |
+ andrew_runpath_switch="none"
|
|
|
c4de4d |
+ ])
|