mirror of
https://github.com/php/php-src.git
synced 2024-11-27 20:03:40 +08:00
Add test to avoid recursion, if the build environment is not
correctly set up.
This commit is contained in:
parent
9b840c5f59
commit
1ed56d5d08
@ -12,7 +12,7 @@
|
||||
# THIS SOFTWARE IS PROVIDED BY SASCHA SCHUMANN ``AS IS'' AND ANY EXPRESS OR
|
||||
# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
|
||||
# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
|
||||
# EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
|
||||
# EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
|
||||
# INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
||||
# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA,
|
||||
# OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
|
||||
@ -35,6 +35,9 @@ $(LTLIBRARY_SHARED_NAME): $(LTLIBRARY_OBJECTS) $(LTLIBRARY_DEPENDENCIES)
|
||||
$(SHLIBTOOL) --mode=install install $@ $(phplibdir)
|
||||
|
||||
shared:
|
||||
@if test -z '$(LTLIBRARY_SHARED_NAME)'; then \
|
||||
echo "LTLIBRARY_SHARED_NAME is empty. Double check your Makefile.in"; \
|
||||
fi
|
||||
@if test '$(SHLIBTOOL)' != '$(LIBTOOL)'; then \
|
||||
$(MAKE) 'LIBTOOL=$(SHLIBTOOL)' $(LTLIBRARY_SHARED_NAME); \
|
||||
else \
|
||||
|
Loading…
Reference in New Issue
Block a user