cyrus-sasl/cyrus-sasl-no_rpath.patch
Marcus Meissner 2c4d2f9160 Accepting request 649912 from home:stroeder:branches:network
Update to 2.1.27

Please carefully review this change!

I don't know what's the build issue on older distro version.

I've successfully tested on Tumbleweed x86_64: LDAPI with SASL/EXTERNAL, LDAPS client certs with SASL/EXTERNAL, LDAP with SASL/GSSAPI to MS AD

OBS-URL: https://build.opensuse.org/request/show/649912
OBS-URL: https://build.opensuse.org/package/show/network/cyrus-sasl?expand=0&rev=74
2018-11-26 16:55:50 +00:00

22 lines
757 B
Diff

Index: cyrus-sasl-2.1.26/m4/cyrus.m4
===================================================================
--- cyrus-sasl-2.1.26.orig/m4/cyrus.m4
+++ cyrus-sasl-2.1.26/m4/cyrus.m4
@@ -32,14 +32,5 @@ AC_DEFUN([CMU_ADD_LIBPATH_TO], [
dnl runpath initialization
AC_DEFUN([CMU_GUESS_RUNPATH_SWITCH], [
# CMU GUESS RUNPATH SWITCH
- AC_CACHE_CHECK(for runpath switch, andrew_cv_runpath_switch, [
- # first, try -R
- SAVE_LDFLAGS="${LDFLAGS}"
- LDFLAGS="-R /usr/lib"
- AC_TRY_LINK([],[],[andrew_cv_runpath_switch="-R"], [
-# LDFLAGS="-Wl,-rpath,/usr/lib"
- AC_TRY_LINK([],[],[andrew_cv_runpath_switch="-Wl,-rpath,"],
- [andrew_cv_runpath_switch="none"])
- ])
- LDFLAGS="${SAVE_LDFLAGS}"
- ])])
+ andrew_cv_runpath_switch="none"
+])