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 | 62f60f6e8c07a8d810d7a04295709a6aa87329ab (diff) |
Notes
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 |