Don't forget pthread when compiling zvbi for win32
authorJean-Baptiste Kempf <jb@videolan.org>
Sun, 26 Jul 2009 00:44:27 +0000 (02:44 +0200)
committerJean-Baptiste Kempf <jb@videolan.org>
Sun, 26 Jul 2009 00:44:27 +0000 (02:44 +0200)
configure.ac

index 0924a1b..f692223 100644 (file)
@@ -3748,6 +3748,9 @@ AS_IF( [test "${enable_zvbi}" != "no"],[
         zvbi-0.2 >= 0.2.25,
         [
           VLC_ADD_LIBS([zvbi],[$ZVBI_LIBS])
+          if test "${SYS}" = "mingw32"; then
+          VLC_ADD_LIBS([zvbi],[ -lpthreadGC2])
+          fi
           VLC_ADD_CFLAGS([zvbi],[$ZVBI_CFLAGS])
           VLC_ADD_PLUGIN([zvbi])
           AC_DEFINE(ZVBI_COMPILED, 1, [Define if the zvbi module is built])