summaryrefslogtreecommitdiff
path: root/package/dnsmasq
diff options
context:
space:
mode:
authorPeter Korsgaard <jacmet@sunsite.dk>2012-05-15 22:57:32 +0200
committerPeter Korsgaard <jacmet@sunsite.dk>2012-05-15 22:57:32 +0200
commit9950d485cd8c16dc84d2e9eca5f4f586c1b717c5 (patch)
treec7c9d0e6683d827a3db17b1b2a52778e13f56386 /package/dnsmasq
parentd8e1ecb8557eb223f12d7d0c989fd799723211aa (diff)
dnsmasq: host-pkg-config is needed for lua support as well
Fixes http://autobuild.buildroot.org/results/94d67f02c81639e1586d1c21a7e3b183a6ab50a2 Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'package/dnsmasq')
-rw-r--r--package/dnsmasq/dnsmasq.mk4
1 files changed, 1 insertions, 3 deletions
diff --git a/package/dnsmasq/dnsmasq.mk b/package/dnsmasq/dnsmasq.mk
index 2e3575ccb..4aa7cfbd6 100644
--- a/package/dnsmasq/dnsmasq.mk
+++ b/package/dnsmasq/dnsmasq.mk
@@ -42,11 +42,9 @@ endef
endif
ifeq ($(BR2_PACKAGE_DNSMASQ_LUA),y)
- DNSMASQ_DEPENDENCIES += lua
+ DNSMASQ_DEPENDENCIES += lua host-pkg-config
DNSMASQ_MAKE_OPT += LDFLAGS+="-ldl"
-endif
-ifeq ($(BR2_PACKAGE_DNSMASQ_LUA),y)
define DNSMASQ_ENABLE_LUA
$(SED) 's/lua5.1/lua/g' $(DNSMASQ_DIR)/Makefile
$(SED) 's^.*#define HAVE_LUASCRIPT.*^#define HAVE_LUASCRIPT^' \