]> git.pld-linux.org Git - packages/php.git/commitdiff
link pcre ext with -lpcre auto/th/php-5.3.24-1
authorElan Ruusamäe <glen@delfi.ee>
Wed, 17 Apr 2013 11:22:17 +0000 (14:22 +0300)
committerElan Ruusamäe <glen@delfi.ee>
Wed, 17 Apr 2013 11:22:17 +0000 (14:22 +0300)
pcre-shared.patch

index 5528b7fc4ba1b92b4510be1da5bbd3ca4a965d26..6bb1a70c158bcdd393c0ac94a6ec6fad1afdd149 100644 (file)
@@ -1,5 +1,5 @@
---- php-5.3.1/ext/pcre/config0.m4      2009-11-27 08:19:08.836025192 +0000
-+++ php-5.3.1/ext/pcre/config0.m4      2009-11-30 22:09:24.385647500 +0000
+--- php-5.3.1/ext/pcre/config0.m4      2009-11-30 22:09:24.385647500 +0000
++++ php-5.3.24/ext/pcre/config0.m4     2013-04-17 13:37:52.761509001 +0300
 @@ -11,7 +11,7 @@
  
    if test "$PHP_PCRE_REGEX" != "yes" && test "$PHP_PCRE_REGEX" != "no"; then
@@ -18,7 +18,7 @@
        test -f $j/libpcre.a || test -f $j/libpcre.$SHLIB_SUFFIX_NAME && PCRE_LIBDIR=$j
      done
      
-@@ -43,12 +43,13 @@
+@@ -43,12 +43,14 @@
        AC_MSG_ERROR([The PCRE extension requires PCRE library version >= 6.6])
      fi
  
@@ -29,6 +29,7 @@
      PHP_ADD_INCLUDE($PCRE_INCDIR)
 -    PHP_NEW_EXTENSION(pcre, php_pcre.c, no)
 +    PHP_NEW_EXTENSION(pcre, php_pcre.c, $ext_shared)
++    PHP_SUBST(PCRE_SHARED_LIBADD)
      PHP_INSTALL_HEADERS([ext/pcre], [php_pcre.h])
 +    EXTRA_LIBS="$EXTRA_LIBS -lpcre"
    else
This page took 0.043698 seconds and 4 git commands to generate.