summaryrefslogtreecommitdiff
path: root/ext/curl/config.m4
diff options
context:
space:
mode:
authorMichael Wallner <mike@php.net>2007-05-19 19:36:35 +0000
committerMichael Wallner <mike@php.net>2007-05-19 19:36:35 +0000
commit97399e90f7fe1a2c5ad438ce2548e868457a87be (patch)
treed44eec401189c48cda0956aceabefcbc44381796 /ext/curl/config.m4
parent05459db504b795e27ad4d8c7d3029193f9d5397c (diff)
downloadphp-git-97399e90f7fe1a2c5ad438ce2548e868457a87be.tar.gz
- fix compiler/linker agnostic runpath switch
Diffstat (limited to 'ext/curl/config.m4')
-rw-r--r--ext/curl/config.m42
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/curl/config.m4 b/ext/curl/config.m4
index a870de94dc..21cfacee27 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])