Use PTHREAD_LIBS with the included libgc.

Submitted by:	nork
This commit is contained in:
Tom McLaughlin 2006-12-09 20:25:55 +00:00
parent d3237924c4
commit 391d42e857
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=179332

View file

@ -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