From: Peter Korsgaard Date: Tue, 15 May 2012 20:57:32 +0000 (+0200) Subject: dnsmasq: host-pkg-config is needed for lua support as well X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=9950d485cd8c16dc84d2e9eca5f4f586c1b717c5;p=buildroot.git dnsmasq: host-pkg-config is needed for lua support as well Fixes http://autobuild.buildroot.org/results/94d67f02c81639e1586d1c21a7e3b183a6ab50a2 Signed-off-by: Peter Korsgaard --- diff --git a/package/dnsmasq/dnsmasq.mk b/package/dnsmasq/dnsmasq.mk index 2e3575ccb6..4aa7cfbd65 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^' \