X-Git-Url: https://git.tld-linux.org/?a=blobdiff_plain;f=embed.patch;fp=embed.patch;h=44276de0b9dca4157d69935c49af05aad16c493e;hb=47130bb86ff82df6ba9ec83597ffeacabc1d888a;hp=0000000000000000000000000000000000000000;hpb=72ad6add086b462795ce6d3a9a6ca5f8d8410b03;p=packages%2Fphp.git diff --git a/embed.patch b/embed.patch new file mode 100644 index 0000000..44276de --- /dev/null +++ b/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_VERSION)" ++ INSTALL_IT="\$(mkinstalldirs) \$(INSTALL_ROOT)\$(libdir); \$(LIBTOOL) --mode=install \$(INSTALL) -m 0755 \$(OVERALL_TARGET) \$(INSTALL_ROOT)\$(libdir)" + ;; + static) + PHP_EMBED_TYPE=static