summaryrefslogtreecommitdiffstats
path: root/php/php-5.2.4-embed.patch
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2014-08-24 12:10:41 +0200
committerRemi Collet <fedora@famillecollet.com>2014-08-24 12:10:41 +0200
commit0c46bdece19ad5b31dfa0d311c6047a5d43de9ee (patch)
treecc902dd27f1b9a20dbc646c5cebbb9141d54c8c8 /php/php-5.2.4-embed.patch
parent39cd5cf4d691e986390fe7778f73859b326c4f89 (diff)
new package: php 5.6 as Software Collection
Diffstat (limited to 'php/php-5.2.4-embed.patch')
-rw-r--r--php/php-5.2.4-embed.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/php/php-5.2.4-embed.patch b/php/php-5.2.4-embed.patch
new file mode 100644
index 0000000..a9d5416
--- /dev/null
+++ b/php/php-5.2.4-embed.patch
@@ -0,0 +1,12 @@
+--- php-5.2.4/sapi/embed/config.m4.embed
++++ php-5.2.4/sapi/embed/config.m4
+@@ -12,7 +12,8 @@ if test "$PHP_EMBED" != "no"; then
+ case "$PHP_EMBED" in
+ yes|shared)
+ PHP_EMBED_TYPE=shared
+- INSTALL_IT="\$(mkinstalldirs) \$(INSTALL_ROOT)\$(prefix)/lib; \$(INSTALL) -m 0755 $SAPI_SHARED \$(INSTALL_ROOT)\$(prefix)/lib"
++ EXTRA_LDFLAGS="$EXTRA_LDFLAGS -release \$(PHP_MAJOR_VERSION).\$(PHP_MINOR_VERSION)"
++ INSTALL_IT="\$(mkinstalldirs) \$(INSTALL_ROOT)\$(libdir); \$(LIBTOOL) --mode=install \$(INSTALL) -m 0755 \$(OVERALL_TARGET) \$(INSTALL_ROOT)\$(libdir)"
+ ;;
+ static)
+ PHP_EMBED_TYPE=static