always link to pthread

This commit is contained in:
Vincent Wei
2019-04-06 13:45:59 +08:00
parent dfd4a603f9
commit 32d800b1b9
+6 -3
View File
@@ -2499,9 +2499,12 @@ if test "$ac_cv_prog_gcc" = "yes"; then
CFLAGS="$CFLAGS -O2 -fmax-errors=10 -Wstrict-prototypes -pipe"
fi
if test "x$runtime_mode" = "xths"; then
DEP_LIBS="$DEP_LIBS -lpthread"
fi
#if test "x$runtime_mode" = "xths"; then
# DEP_LIBS="$DEP_LIBS -lpthread"
#fi
# Always link to pthread
DEP_LIBS="$DEP_LIBS -lpthread"
AC_SUBST(VIDEO_SUBDIRS)
AC_SUBST(VIDEO_DRIVERS)