summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRyo ONODERA <[email protected]>2019-05-03 21:37:00 +0900
committerBradley Sepos <[email protected]>2019-06-18 10:42:42 -0400
commit3f5e121648e2714a56b5b8eb2f48e92319bcc14c (patch)
treea3fd36722f5fbc918548ab19af5f0eb70aca0b55
parent2264b265f6debb8d621aad8b6f9cbfdb50b6e3f2 (diff)
Add NetBSD conditional to avoid link errors
-ldl is not provided under NetBSD.
-rw-r--r--gtk/configure.ac3
1 files changed, 3 insertions, 0 deletions
diff --git a/gtk/configure.ac b/gtk/configure.ac
index 33822f524..f943729bf 100644
--- a/gtk/configure.ac
+++ b/gtk/configure.ac
@@ -212,6 +212,9 @@ case $host in
*-*-freebsd*)
HB_LIBS="$HB_LIBS -lpthread"
;;
+ *-*-netbsd*)
+ HB_LIBS="$HB_LIBS -pthread"
+ ;;
*-*-linux*)
if test "x$use_qsv" = "xyes" ; then
HB_LIBS="$HB_LIBS -lva -lva-drm"