Author: dim Date: Sun Mar 17 11:27:27 2019 New Revision: 345242 URL: https://svnweb.freebsd.org/changeset/base/345242
Log: 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 Modified: head/lib/libomp/Makefile Modified: head/lib/libomp/Makefile ============================================================================== --- head/lib/libomp/Makefile Sun Mar 17 09:31:09 2019 (r345241) +++ head/lib/libomp/Makefile Sun Mar 17 11:27:27 2019 (r345242) @@ -66,4 +66,6 @@ LDFLAGS+= -Wl,-soname,libomp.so VERSION_MAP= ${OMPSRC}/exports_so.txt +LIBADD+= pthread + .include <bsd.lib.mk> _______________________________________________ svn-src-all@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"