diff --git a/srcpkgs/mDNSResponder/template b/srcpkgs/mDNSResponder/template index a9dd6dbd175..2e38394a8b2 100644 --- a/srcpkgs/mDNSResponder/template +++ b/srcpkgs/mDNSResponder/template @@ -14,8 +14,9 @@ conf_files="/etc/nss_mdns.conf" conflicts="nss-mdns>=0" do_build() { + sed -i "s,cc ,$CC ,g" Clients/Makefile cd mDNSPosix - make os=linux HAVE_IPV6=1 CC=$CC STRIP=echo + make os=linux HAVE_IPV6=1 CC=$CC LD="$CC -shared" CFLAGS_DEBUG="$CFLAGS" STRIP=echo } do_install() { cd mDNSPosix