- fix compiler/linker agnostic runpath switch
authorMichael Wallner <mike@php.net>
Sat, 19 May 2007 19:31:37 +0000 (19:31 +0000)
committerMichael Wallner <mike@php.net>
Sat, 19 May 2007 19:31:37 +0000 (19:31 +0000)
config9.m4
package2.xml

index 49ca9e4..3712b31 100644 (file)
@@ -187,7 +187,7 @@ dnl ----
                        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])
index 929da75..4d85d5d 100644 (file)
@@ -39,6 +39,7 @@ support. Parallel requests are available for PHP 5 and greater.
  </stability>
  <license>BSD, revised</license>
  <notes><![CDATA[
+* Fixed libcurl SLL library detection for libcurl >= 7.16.2
 + Added 'retrycount' and 'retrydelay' request options
 + Added libevent support for libcurl (>= 7.16.0):
   o added --with-http-curl-libevent configure option