]> git.pld-linux.org Git - packages/php.git/commitdiff
- allow static compilation
authorArkadiusz Miśkiewicz <arekm@maven.pl>
Mon, 16 Jan 2006 19:12:24 +0000 (19:12 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    php-reflection.patch -> 1.1

php-reflection.patch [new file with mode: 0644]

diff --git a/php-reflection.patch b/php-reflection.patch
new file mode 100644 (file)
index 0000000..f85753f
--- /dev/null
@@ -0,0 +1,14 @@
+diff -ur php-5.1.2.org/ext/reflection/config.m4 php-5.1.2/ext/reflection/config.m4
+--- php-5.1.2.org/ext/reflection/config.m4     2005-12-03 02:12:45.000000000 +0100
++++ php-5.1.2/ext/reflection/config.m4 2006-01-16 19:36:46.460968000 +0100
+@@ -5,9 +5,6 @@
+ [  --disable-reflection    Disable reflection support], yes, no)
+ if test "$PHP_REFLECTION" != "no"; then
+-  if test "$ext_shared" = "yes"; then
+-    AC_MSG_ERROR(Cannot build reflection as a shared module)
+-  fi
+   AC_DEFINE(HAVE_REFLECTION, 1, [Whether Reflection is enabled])
+-  PHP_NEW_EXTENSION(reflection, php_reflection.c)
++  PHP_NEW_EXTENSION(reflection, php_reflection.c, no)
+ fi
This page took 0.531562 seconds and 4 git commands to generate.