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
8f6fafa869
commit
ad625eb486
@ -66,4 +66,6 @@ LDFLAGS+= -Wl,-soname,libomp.so
|
||||
|
||||
VERSION_MAP= ${OMPSRC}/exports_so.txt
|
||||
|
||||
LIBADD+= pthread
|
||||
|
||||
.include <bsd.lib.mk>
|
||||
|
Loading…
x
Reference in New Issue
Block a user