1 |
--- php-5.2.4/sapi/embed/config.m4.embed |
2 |
+++ php-5.2.4/sapi/embed/config.m4 |
3 |
@@ -12,7 +12,8 @@ if test "$PHP_EMBED" != "no"; then |
4 |
case "$PHP_EMBED" in |
5 |
yes|shared) |
6 |
PHP_EMBED_TYPE=shared |
7 |
- INSTALL_IT="\$(mkinstalldirs) \$(INSTALL_ROOT)\$(prefix)/lib; \$(INSTALL) -m 0755 $SAPI_SHARED \$(INSTALL_ROOT)\$(prefix)/lib" |
8 |
+ EXTRA_LDFLAGS="$EXTRA_LDFLAGS -release \$(PHP_VERSION)" |
9 |
+ INSTALL_IT="\$(mkinstalldirs) \$(INSTALL_ROOT)\$(libdir); \$(LIBTOOL) --mode=install \$(INSTALL) -m 0755 \$(OVERALL_TARGET) \$(INSTALL_ROOT)\$(libdir)" |
10 |
;; |
11 |
static) |
12 |
PHP_EMBED_TYPE=static |