diff options
author | Andrei Zmievski <andrei@php.net> | 2006-04-08 17:34:57 +0000 |
---|---|---|
committer | Andrei Zmievski <andrei@php.net> | 2006-04-08 17:34:57 +0000 |
commit | 3411f2bca132c16142ded4d0fabf0f4130aeb18b (patch) | |
tree | b5cbc1485fd302cd8c8fbbe6eecc39ff7f267ccd /Makefile.global | |
parent | 7ca9d096898c6715ed49f13278c0b797b1a892ac (diff) | |
download | php-git-3411f2bca132c16142ded4d0fabf0f4130aeb18b.tar.gz |
Separate suffixes of shared libraries that we link against and the ones
we load with dlopen(). This matters on Mac OS X, for example.
Diffstat (limited to 'Makefile.global')
-rw-r--r-- | Makefile.global | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Makefile.global b/Makefile.global index 531fdcc89a..c92bc3724f 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; \ |