]> git.sesse.net Git - vlc/commitdiff
Backport of revision 13277
authorJean-Paul Saman <jpsaman@videolan.org>
Sat, 19 Nov 2005 17:57:23 +0000 (17:57 +0000)
committerJean-Paul Saman <jpsaman@videolan.org>
Sat, 19 Nov 2005 17:57:23 +0000 (17:57 +0000)
configure.ac

index 79e9d628ac8e792bb2f54f6f1f483cb206d14056..865623e237afebdea3f51ed8936891cbfa02506c 100644 (file)
@@ -2879,7 +2879,7 @@ if test "${enable_x264}" != "no"; then
       AC_MSG_RESULT(yes)
       VLC_ADD_CPPFLAGS([x264],[-I${real_x264_tree}])
       VLC_ADD_LDFLAGS([x264],[-L${real_x264_tree}])
-      LDFLAGS="${LDFLAGS_save} ${LDFLAGS_x264}"
+      LDFLAGS="${LDFLAGS_save} ${LDFLAGS_x264} ${THREAD_LIB}"
       AC_CHECK_LIB(x264, x264_encoder_open, [
         VLC_ADD_BUILTINS([x264])
         VLC_ADD_LDFLAGS([x264],[-lx264])
@@ -2892,7 +2892,7 @@ if test "${enable_x264}" != "no"; then
       AC_MSG_ERROR([the specified tree doesn't have x264.h])
     fi
   else
-    LDFLAGS="${LDFLAGS_save} ${LDFLAGS_x264}"
+    LDFLAGS="${LDFLAGS_save} ${LDFLAGS_x264} ${THREAD_LIB}"
     AC_CHECK_HEADERS(x264.h, [
       AC_CHECK_LIB(x264, x264_encoder_open, [
         VLC_ADD_PLUGINS([x264])