luci-0.9: merge r5516
authorJo-Philipp Wich <jow@openwrt.org>
Sun, 8 Nov 2009 02:53:19 +0000 (02:53 +0000)
committerJo-Philipp Wich <jow@openwrt.org>
Sun, 8 Nov 2009 02:53:19 +0000 (02:53 +0000)
contrib/package/luci/Makefile

index cf313ade054affe3ab5f0569f1990433837bff4e..650398590cc86ab8f89c109815035b04e8b16611 100644 (file)
@@ -23,7 +23,7 @@ else
   PKG_SOURCE_VERSION:=$(PKG_REV)
 endif
 
-PKG_BUILD_DEPENDS:=lua/host
+PKG_BUILD_DEPENDS:=$(if $(STAGING_DIR_ROOT),lua/host)
 PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
 PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install