From 6939fa4d8bbacf35d58a6791bdade2fcb7b28eb8 Mon Sep 17 00:00:00 2001 From: tmclaugh Date: Sat, 9 Dec 2006 20:25:55 +0000 Subject: Use PTHREAD_LIBS with the included libgc. Submitted by: nork --- lang/mono/Makefile | 2 ++ 1 file changed, 2 insertions(+) (limited to 'lang') diff --git a/lang/mono/Makefile b/lang/mono/Makefile index 77d9d672cd55..e6bc72fbd1d6 100644 --- a/lang/mono/Makefile +++ b/lang/mono/Makefile @@ -67,6 +67,8 @@ post-patch: ${WRKSRC}/mono/metadata/assembly.c @${REINPLACE_CMD} -e 's|.so.0|.so|g' \ ${WRKSRC}/configure + @${REINPLACE_CMD} -e 's|-pthread|${PTHREAD_LIBS}|g' \ + ${WRKSRC}/configure ${WRKSRC}/libgc/configure @${REINPLACE_CMD} -e 's|%%CC%%|${CC}|g ; \ s|%%PTHREAD_LIBS%%|${PTHREAD_LIBS}|g' \ ${WRKSRC}/mcs/tools/mkbundle/mkbundle.cs -- cgit