summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--make/dnsmasq.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/make/dnsmasq.mk b/make/dnsmasq.mk
index af747af06..0c9b204b8 100644
--- a/make/dnsmasq.mk
+++ b/make/dnsmasq.mk
@@ -26,11 +26,11 @@ $(DNSMASQ_DIR)/.source: $(DL_DIR)/$(DNSMASQ_SOURCE)
$(DNSMASQ_VER)-\*.patch
touch $(DNSMASQ_DIR)/.source
-$(DNSMASQ_DIR)/$(DNSMASQ_BINARY): $(DNSMASQ_DIR)/.source
+$(DNSMASQ_DIR)/src/$(DNSMASQ_BINARY): $(DNSMASQ_DIR)/.source
$(MAKE) CC=$(TARGET_CC) CFLAGS="$(TARGET_CFLAGS)" \
BINDIR=/usr/sbin MANDIR=/usr/man -C $(DNSMASQ_DIR)
-$(TARGET_DIR)/$(DNSMASQ_TARGET_BINARY): $(DNSMASQ_DIR)/$(DNSMASQ_BINARY)
+$(TARGET_DIR)/$(DNSMASQ_TARGET_BINARY): $(DNSMASQ_DIR)/src/$(DNSMASQ_BINARY)
$(MAKE) BINDIR=/usr/sbin MANDIR=/usr/man \
DESTDIR=$(TARGET_DIR) -C $(DNSMASQ_DIR) install
$(STRIP) $(TARGET_DIR)/$(DNSMASQ_TARGET_BINARY)