diff options
author | Remi Collet <fedora@famillecollet.com> | 2014-09-02 18:24:41 +0200 |
---|---|---|
committer | Remi Collet <fedora@famillecollet.com> | 2014-09-02 18:24:41 +0200 |
commit | 45396e0b548b5684022506133d06a721cd9cd6de (patch) | |
tree | 8e8931e2d2cb869f08bf57c5c5eafef2b13a1d1f /php-5.2.4-embed.patch |
php55-php: import from rhscl 1.1
Diffstat (limited to 'php-5.2.4-embed.patch')
-rw-r--r-- | php-5.2.4-embed.patch | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/php-5.2.4-embed.patch b/php-5.2.4-embed.patch new file mode 100644 index 0000000..a9d5416 --- /dev/null +++ b/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 |