Magellan Linux

Annotation of /trunk/cyrus-sasl/patches/cyrus-sasl-2.1.25-no_rpath.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 3262 - (hide annotations) (download)
Thu Dec 6 10:15:29 2018 UTC (5 years, 6 months ago) by niro
File size: 805 byte(s)
-added rpath patch
1 niro 3262 diff -up cyrus-sasl-2.1.25/m4/cyrus.m4.no_rpath cyrus-sasl-2.1.25/m4/cyrus.m4
2     --- cyrus-sasl-2.1.25/m4/cyrus.m4.no_rpath 2010-01-22 16:12:01.000000000 +0100
3     +++ cyrus-sasl-2.1.25/m4/cyrus.m4 2012-12-06 14:59:47.956102057 +0100
4     @@ -32,14 +32,5 @@ AC_DEFUN([CMU_ADD_LIBPATH_TO], [
5     dnl runpath initialization
6     AC_DEFUN([CMU_GUESS_RUNPATH_SWITCH], [
7     # CMU GUESS RUNPATH SWITCH
8     - AC_CACHE_CHECK(for runpath switch, andrew_cv_runpath_switch, [
9     - # first, try -R
10     - SAVE_LDFLAGS="${LDFLAGS}"
11     - LDFLAGS="-R /usr/lib"
12     - AC_TRY_LINK([],[],[andrew_cv_runpath_switch="-R"], [
13     - LDFLAGS="-Wl,-rpath,/usr/lib"
14     - AC_TRY_LINK([],[],[andrew_cv_runpath_switch="-Wl,-rpath,"],
15     - [andrew_cv_runpath_switch="none"])
16     - ])
17     - LDFLAGS="${SAVE_LDFLAGS}"
18     - ])])
19     + andrew_runpath_switch="none"
20     + ])