summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile.in3
-rw-r--r--configure.in2
2 files changed, 4 insertions, 1 deletions
diff --git a/Makefile.in b/Makefile.in
index 5403c2a49d..f6e863f7e1 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -38,6 +38,9 @@ include $(top_srcdir)/build/program.mk
install-sapi:
@$(LIBTOOL) --silent --mode=install cp libphp4.la $(phptempdir)/libphp4.la >/dev/null 2>&1
-@$(mkinstalldirs) $(bindir)
+ -@if ! test -r $(phptempdir)/libphp4.so && test -r $(phptempdir)/libphp4.so.0.0; then \
+ $(LN_S) $(phptempdir)/libphp4.so.0.0 $(phptempdir)/libphp4.so; \
+ fi
$(INSTALL_IT)
install-modules:
diff --git a/configure.in b/configure.in
index 01aa17a20e..d044f027c9 100644
--- a/configure.in
+++ b/configure.in
@@ -119,7 +119,7 @@ PHP_BUILD_PROGRAM
dnl paths to the targets relative to the build directory
SAPI_PROGRAM=php
dnl on HP-UX, the extension is .sl. Need to improve this
-SAPI_SHARED=libs/libphp4.s*
+SAPI_SHARED=libs/libphp4.so
SAPI_STATIC=libs/libphp4.a
PHP_CONFIGURE_PART(Configuring SAPI modules)