summaryrefslogtreecommitdiff
path: root/devel/openthreads/files/patch-pthread_src::GNUmakefile
blob: ae4f35556881fae63d4bd6c76fdc468a7975708f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
--- pthread_src/GNUmakefile.orig	Thu Dec  8 12:28:18 2005
+++ pthread_src/GNUmakefile	Sun Nov 19 19:25:11 2006
@@ -15,6 +15,11 @@
 LIBS += -lpthread
 endif 
 
+ifeq ($(OS),FreeBSD) 
+DEF += -fPIC
+LIBS += $(PTHREAD_LIBS)
+endif 
+
 ifeq ($(OS),SunOS)
 LIBS +=  -lpthread -lposix4
 endif