summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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^' \