summaryrefslogtreecommitdiffhomepage
path: root/contrib
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2009-11-08 02:52:47 +0000
committerJo-Philipp Wich <jow@openwrt.org>2009-11-08 02:52:47 +0000
commitee4fd290a0c4c4ef2ebdbe82e4c3c972016ded16 (patch)
treeaf3b452b2add4eaff43cdc8ee9572fd1a6483f8b /contrib
parenta50452e3e37bd3c79b4e69447420c8cd4cc2388b (diff)
contrib: make lua host build dependency conditional
Diffstat (limited to 'contrib')
-rw-r--r--contrib/package/luci/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/package/luci/Makefile b/contrib/package/luci/Makefile
index 81221a69d..82c3ecfff 100644
--- a/contrib/package/luci/Makefile
+++ b/contrib/package/luci/Makefile
@@ -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