Date: Sun, 17 Mar 2019 11:27:27 +0000 (UTC) From: Dimitry Andric <dim@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r345242 - head/lib/libomp Message-ID: <201903171127.x2HBRRcs006727@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201903171127.x2HBRRcs006727>