dnsmasq: host-pkg-config is needed for lua support as well
authorPeter Korsgaard <jacmet@sunsite.dk>
Tue, 15 May 2012 20:57:32 +0000 (22:57 +0200)
committerPeter Korsgaard <jacmet@sunsite.dk>
Tue, 15 May 2012 20:57:32 +0000 (22:57 +0200)
Fixes http://autobuild.buildroot.org/results/94d67f02c81639e1586d1c21a7e3b183a6ab50a2

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
package/dnsmasq/dnsmasq.mk

index 2e3575ccb6f2a2c453c6ef2b7fc871521144ae99..4aa7cfbd658dc97f894476042f0bc9375446f11a 100644 (file)
@@ -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^' \