summaryrefslogtreecommitdiff
path: root/net/mDNSResponder/patches/patch-aa
blob: 4f63b058ba38264f43374d17485df575794db66d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
$NetBSD: patch-aa,v 1.8 2006/03/03 22:30:56 wiz Exp $

--- mDNSPosix/Makefile.orig	2006-02-20 22:40:36.000000000 +0100
+++ mDNSPosix/Makefile
@@ -275,6 +275,7 @@ CFLAGS_OS = -DNOT_HAVE_DAEMON -DNOT_HAVE
 CC = gcc
 LD = gcc -shared
 LIBFLAGS = -lsocket -lnsl -lresolv
+SYSTEMLIBS = -lsocket -lnsl
 JAVACFLAGS_OS += -I$(JDK)/include/solaris
 ifneq ($(DEBUG),1)
 STRIP = strip
@@ -617,7 +618,7 @@ $(BUILDDIR)/mDNSNetMonitor:          $(S
 	$(CC) $+ -o $@ $(LIBFLAGS)
 
 $(BUILDDIR)/dnsextd:                 $(SPECIALOBJ) $(OBJDIR)/dnsextd.c.threadsafe.o
-	$(CC) $+ -o $@ $(LIBFLAGS) -lpthread
+	$(CC) $+ -o $@ $(LIBFLAGS) ${COMPILER_RPATH_FLAG}${PTHREADBASE}/lib ${PTHREAD_LDFLAGS} ${PTHREAD_LIBS} ${EXTRA_LIBS}
 
 #############################################################################