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>
This commit is contained in:
Peter Korsgaard 2012-05-15 22:57:32 +02:00
parent d8e1ecb855
commit 9950d485cd

View 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^' \