summaryrefslogtreecommitdiff
path: root/Makefile.global
diff options
context:
space:
mode:
authorAndrei Zmievski <andrei@php.net>2006-04-08 17:53:11 (GMT)
committerAndrei Zmievski <andrei@php.net>2006-04-08 17:53:11 (GMT)
commit9e5655387a6cfc5e0b22c2884e89aa627fcc41e4 (patch)
tree96d94f608ff58578b7f98aa04f02ed2ffbd4f334 /Makefile.global
parente8270edf9d82ef20c716fd04788b849f7e4c0a77 (diff)
downloadphp-9e5655387a6cfc5e0b22c2884e89aa627fcc41e4.tar.gz
MFH
Diffstat (limited to 'Makefile.global')
-rw-r--r--Makefile.global6
1 files changed, 3 insertions, 3 deletions
diff --git a/Makefile.global b/Makefile.global
index 28483b6..ec86927 100644
--- a/Makefile.global
+++ b/Makefile.global
@@ -25,10 +25,10 @@ install: $(all_targets) $(install_targets)
install-sapi: $(OVERALL_TARGET)
@echo "Installing PHP SAPI module: $(PHP_SAPI)"
-@$(mkinstalldirs) $(INSTALL_ROOT)$(bindir)
- -@if test ! -r $(phptempdir)/libphp5.$(SHLIB_SUFFIX_NAME); then \
+ -@if test ! -r $(phptempdir)/libphp5.$(SHLIB_DL_SUFFIX_NAME); then \
for i in 0.0.0 0.0 0; do \
- if test -r $(phptempdir)/libphp5.$(SHLIB_SUFFIX_NAME).$$i; then \
- $(LN_S) $(phptempdir)/libphp5.$(SHLIB_SUFFIX_NAME).$$i $(phptempdir)/libphp5.$(SHLIB_SUFFIX_NAME); \
+ if test -r $(phptempdir)/libphp5.$(SHLIB_DL_SUFFIX_NAME).$$i; then \
+ $(LN_S) $(phptempdir)/libphp5.$(SHLIB_DL_SUFFIX_NAME).$$i $(phptempdir)/libphp5.$(SHLIB_DL_SUFFIX_NAME); \
break; \
fi; \
done; \