summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSascha Schumann <sas@php.net>2000-05-18 10:36:35 +0000
committerSascha Schumann <sas@php.net>2000-05-18 10:36:35 +0000
commitb458902704a67a490689d28a82ad41517ea946d0 (patch)
tree5b8f14c2ef89534586ed2f28c786679e053ad79c
parent715ff77344ac3c4f72a8927dcfa5a29b7e8f96b8 (diff)
downloadphp-git-b458902704a67a490689d28a82ad41517ea946d0.tar.gz
Fix workaround for systems where libtool cannot handle -avoid-version
correctly.
-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)