Explicitly link libomp.so against -lpthread, as it depends on pthread
functionality. This should make example OpenMP programs work out of the box. Reported by: jbeich PR: 236062, 236581 MFC after: 1 month X-MFC-With: r344779
This commit is contained in:
parent
76d32f047a
commit
1d0078a2af
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=345242
@ -66,4 +66,6 @@ LDFLAGS+= -Wl,-soname,libomp.so
|
|||||||
|
|
||||||
VERSION_MAP= ${OMPSRC}/exports_so.txt
|
VERSION_MAP= ${OMPSRC}/exports_so.txt
|
||||||
|
|
||||||
|
LIBADD+= pthread
|
||||||
|
|
||||||
.include <bsd.lib.mk>
|
.include <bsd.lib.mk>
|
||||||
|
Loading…
Reference in New Issue
Block a user