2007-09-16 10:14:01 +00:00
|
|
|
--- php-5.2.4/sapi/embed/config.m4.embed
|
|
|
|
+++ php-5.2.4/sapi/embed/config.m4
|
2007-09-18 19:06:36 +00:00
|
|
|
@@ -12,7 +12,8 @@ if test "$PHP_EMBED" != "no"; then
|
2007-09-16 10:14:01 +00:00
|
|
|
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"
|
2007-09-18 19:06:36 +00:00
|
|
|
+ EXTRA_LDFLAGS="$EXTRA_LDFLAGS -release \$(PHP_MAJOR_VERSION)"
|
|
|
|
+ INSTALL_IT="\$(mkinstalldirs) \$(INSTALL_ROOT)\$(libdir); \$(LIBTOOL) --mode=install \$(INSTALL) -m 0755 \$(OVERALL_TARGET) \$(INSTALL_ROOT)\$(libdir)"
|
2007-09-16 10:14:01 +00:00
|
|
|
;;
|
|
|
|
static)
|
|
|
|
PHP_EMBED_TYPE=static
|