summaryrefslogtreecommitdiffstats
path: root/php-5.6.3-embed.patch
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2014-11-26 09:11:37 +0100
committerRemi Collet <fedora@famillecollet.com>2014-11-26 09:11:37 +0100
commite5ef42d07e4b2237129687ea79136a2d0a710797 (patch)
tree4ac9c02f72d3b805c4d730e634ea8386ada7d04b /php-5.6.3-embed.patch
parent71473016d41d4d3587fc2950097f09ecfe1add41 (diff)
php56-php: add embedded sub package
Diffstat (limited to 'php-5.6.3-embed.patch')
-rw-r--r--php-5.6.3-embed.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/php-5.6.3-embed.patch b/php-5.6.3-embed.patch
new file mode 100644
index 0000000..af7d355
--- /dev/null
+++ b/php-5.6.3-embed.patch
@@ -0,0 +1,12 @@
+--- php-5.6.3/sapi/embed/config.m4.embed
++++ php-5.6.3/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