use := instead of = for PKG_CONFIG_PATH to prevent recursion
[openwrt/svn-archive/archive.git] / include / package.mk
index e0d367a..324e6e8 100644 (file)
@@ -81,8 +81,8 @@ define Build/Exports/Default
   $(1) : export STAGING_PREFIX=$$(STAGING_DIR)/usr
   $(1) : export PATH=$$(TARGET_PATH_PKG)
   $(1) : export CONFIG_SITE:=$$(CONFIG_SITE)
-  $(1) : export PKG_CONFIG_PATH=$$(PKG_CONFIG_PATH)
-  $(1) : export PKG_CONFIG_LIBDIR=$$(PKG_CONFIG_PATH)
+  $(1) : export PKG_CONFIG_PATH:=$$(PKG_CONFIG_PATH)
+  $(1) : export PKG_CONFIG_LIBDIR:=$$(PKG_CONFIG_PATH)
 endef
 Build/Exports=$(Build/Exports/Default)