[Buildroot] [git commit] dnsmasq: host-pkg-config is needed for lua support as well

Peter Korsgaard jacmet at sunsite.dk
Tue May 15 20:57:32 UTC 2012


commit: http://git.buildroot.net/buildroot/commit/?id=9950d485cd8c16dc84d2e9eca5f4f586c1b717c5
branch: http://git.buildroot.net/buildroot/commit/?id=refs/heads/master

Fixes http://autobuild.buildroot.org/results/94d67f02c81639e1586d1c21a7e3b183a6ab50a2

Signed-off-by: Peter Korsgaard <jacmet at sunsite.dk>
---
 package/dnsmasq/dnsmasq.mk |    4 +---
 1 files changed, 1 insertions(+), 3 deletions(-)

diff --git a/package/dnsmasq/dnsmasq.mk b/package/dnsmasq/dnsmasq.mk
index 2e3575c..4aa7cfb 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^' \


More information about the buildroot mailing list