From: Michael Wallner Date: Sat, 19 May 2007 19:36:11 +0000 (+0000) Subject: - fix compile/linker agnostic runpath switch X-Git-Tag: php-5.2.3RC1~43 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=a349109e42b0e73815d2561c586df3ceec367f04;p=php - fix compile/linker agnostic runpath switch --- diff --git a/ext/curl/config.m4 b/ext/curl/config.m4 index 9590161661..ebb8506bcd 100644 --- a/ext/curl/config.m4 +++ b/ext/curl/config.m4 @@ -58,7 +58,7 @@ if test "$PHP_CURL" != "no"; then save_CFLAGS="$CFLAGS" CFLAGS="`$CURL_CONFIG --cflags`" save_LDFLAGS="$LDFALGS" - LDFLAGS="`$CURL_CONFIG --libs` -Wl,--rpath -Wl,$CURL_DIR/$PHP_LIBDIR" + LDFLAGS="`$CURL_CONFIG --libs` $ld_runpath_switch$CURL_DIR/$PHP_LIBDIR" AC_CHECK_HEADER([openssl/crypto.h], [ AC_MSG_CHECKING([for openssl support in libcurl])