From: Felix Fietkau Date: Sun, 14 Sep 2008 00:44:48 +0000 (+0000) Subject: fix php4 compile X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=d46b256942800071c9fe5ffdeac44207f94bc4bd;p=openwrt%2Fsvn-archive%2Farchive.git fix php4 compile SVN-Revision: 12608 --- diff --git a/lang/php4/Makefile b/lang/php4/Makefile index 5c8bab0512..d0c0e06582 100644 --- a/lang/php4/Makefile +++ b/lang/php4/Makefile @@ -266,7 +266,7 @@ ifneq ($(CONFIG_PACKAGE_php4-cli),) LIBS="$(PKG_CONFIGURE_LIBS)" \ php_cv_cc_rpath="no" \ ) - $(MAKE) -C $(PKG_BUILD_DIR) + LD_LIBRARY_PATH="" $(MAKE) -C $(PKG_BUILD_DIR) mv $(PKG_BUILD_DIR)/sapi/cli/php $(PKG_BUILD_DIR)/php-cli endef endif @@ -285,7 +285,7 @@ ifneq ($(CONFIG_PACKAGE_php4-cgi),) LIBS="$(PKG_CONFIGURE_LIBS)" \ php_cv_cc_rpath="no" \ ) - $(MAKE) -C $(PKG_BUILD_DIR) + LD_LIBRARY_PATH="" $(MAKE) -C $(PKG_BUILD_DIR) mv $(PKG_BUILD_DIR)/sapi/cgi/php $(PKG_BUILD_DIR)/php-cgi endef endif @@ -304,7 +304,7 @@ ifneq ($(CONFIG_PACKAGE_php4-fastcgi),) LIBS="$(PKG_CONFIGURE_LIBS)" \ php_cv_cc_rpath="no" \ ) - $(MAKE) -C $(PKG_BUILD_DIR) + LD_LIBRARY_PATH="" $(MAKE) -C $(PKG_BUILD_DIR) mv $(PKG_BUILD_DIR)/sapi/cgi/php $(PKG_BUILD_DIR)/php-fastcgi endef endif