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
@ -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…
x
Reference in New Issue
Block a user