diff options
author | Jan Beich <jbeich@FreeBSD.org> | 2019-07-10 01:16:13 +0000 |
---|---|---|
committer | Jan Beich <jbeich@FreeBSD.org> | 2019-07-10 01:16:13 +0000 |
commit | 46e7fd2685e96223b70e0c2e705a43d0a9879f0c (patch) | |
tree | 1dffc9e3f928b7328d5713de610e1c59ce9572ad /multimedia/libva/Makefile | |
parent | security/vuxml: mark firefox < 68 as vulnerable (diff) |
multimedia/libva: drop -lpthread on FreeBSD 11.4/12.1/13.0
libva doesn't use threads unless LIBVA_TRACE is passed via environment.
PR: 238650
Notes
Notes:
svn path=/head/; revision=506329
Diffstat (limited to 'multimedia/libva/Makefile')
-rw-r--r-- | multimedia/libva/Makefile | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/multimedia/libva/Makefile b/multimedia/libva/Makefile index d7650086f2bd..4a90cf5870a0 100644 --- a/multimedia/libva/Makefile +++ b/multimedia/libva/Makefile @@ -19,7 +19,11 @@ USES= meson pkgconfig USE_GITHUB= yes USE_LDCONFIG= yes GH_ACCOUNT= intel -LDFLAGS+= -lpthread # for pthread_getthreadid_np +# -lpthread is not necessary if pthread_getthreadid_np is a libc stub +LDFLAGS+= ${LDFLAGS_${OPSYS}_${OSREL}} +LDFLAGS_FreeBSD_11.2= -lpthread +LDFLAGS_FreeBSD_11.3= -lpthread +LDFLAGS_FreeBSD_12.0= -lpthread OPTIONS_DEFINE= GLX WAYLAND X11 OPTIONS_DEFAULT=GLX WAYLAND X11 |