From 10e25690b4591a4a25b7963fca27a899efc658cf Mon Sep 17 00:00:00 2001 From: Zaheer Chothia Date: Mon, 21 May 2012 12:10:26 +0200 Subject: [PATCH] Fix FreeBSD build (undefined reference to `pthread_create') --- exports/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/exports/Makefile b/exports/Makefile index 83f2f5d0c..971bd0bed 100644 --- a/exports/Makefile +++ b/exports/Makefile @@ -121,7 +121,7 @@ so : ../$(LIBSONAME) ../$(LIBSONAME) : ../$(LIBNAME) linux.def linktest.c $(CC) $(CFLAGS) -shared -o ../$(LIBSONAME) \ -Wl,--whole-archive ../$(LIBNAME) -Wl,--no-whole-archive \ - -Wl,--retain-symbols-file=linux.def $(FEXTRALIB) + -Wl,--retain-symbols-file=linux.def $(EXTRALIB) $(CC) $(CFLAGS) -w -o linktest linktest.c ../$(LIBSONAME) $(FEXTRALIB) && echo OK. rm -f linktest