fix php4 compile
authorFelix Fietkau <nbd@openwrt.org>
Sun, 14 Sep 2008 00:44:48 +0000 (00:44 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Sun, 14 Sep 2008 00:44:48 +0000 (00:44 +0000)
SVN-Revision: 12608

lang/php4/Makefile

index 5c8bab0512c8785871117538661bdf71f4b74a53..d0c0e06582aafffe8c74ab800f61df704205c9fe 100644 (file)
@@ -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