]> TLD Linux GIT Repositories - packages/php.git/blobdiff - php-filter-shared.patch
- PHP_5_4 branch from PLD
[packages/php.git] / php-filter-shared.patch
diff --git a/php-filter-shared.patch b/php-filter-shared.patch
new file mode 100644 (file)
index 0000000..3983c3f
--- /dev/null
@@ -0,0 +1,14 @@
+--- php-5.2.0/ext/filter/config.m4~    2006-01-14 17:04:12.000000000 +0200
++++ php-5.2.0/ext/filter/config.m4     2006-11-20 00:06:09.272529853 +0200
+@@ -10,10 +10,7 @@
+ if test "$PHP_FILTER" != "no"; then
+   dnl Check if configure is the PHP core configure
+-  if test -n "$PHP_VERSION"; then
+-    dnl This extension can not be build as shared when in PHP core
+-    ext_shared=no
+-  else
++  if test -z "$PHP_VERSION"; then
+     dnl This is PECL build, check if bundled PCRE library is used
+     old_CPPFLAGS=$CPPFLAGS
+     CPPFLAGS=$INCLUDES