Skip to content

Commit

Permalink
Merge pull request openwrt#2150 from commodo/mdnsresponder-build-fix
Browse files Browse the repository at this point in the history
mdnsresponder: (fix build) use TARGET_CC as LD
  • Loading branch information
sbyx committed Dec 19, 2015
2 parents c1dc8cd + f1b88fd commit 4528c4b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion net/mdnsresponder/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk

PKG_NAME:=mDNSResponder
PKG_VERSION:=567
PKG_RELEASE:=2
PKG_RELEASE:=3

PKG_SOURCE:=mDNSResponder-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=http://opensource.apple.com/tarballs/mDNSResponder/
Expand Down Expand Up @@ -85,6 +85,7 @@ endef
# I have no idea why -lc is required, but without it, C library symbols are
# not found:
MAKE_FLAGS += \
LD="$(TARGET_CC)" \
CFLAGS_DEBUG="$(TARGET_CFLAGS)" \
LINKOPTS=-lc \
LDCONFIG= \
Expand Down

0 comments on commit 4528c4b

Please sign in to comment.