[vlc-devel] commit: Don't forget pthread when compiling zvbi for win32 ( Jean-Baptiste Kempf )

git version control git at videolan.org
Sun Jul 26 02:45:15 CEST 2009


vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Sun Jul 26 02:44:27 2009 +0200| [9eb5b0cea12a3edbed3d291a868236fa61eafdd8] | committer: Jean-Baptiste Kempf 

Don't forget pthread when compiling zvbi for win32

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=9eb5b0cea12a3edbed3d291a868236fa61eafdd8
---

 configure.ac |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/configure.ac b/configure.ac
index 0924a1b..f692223 100644
--- a/configure.ac
+++ b/configure.ac
@@ -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])




More information about the vlc-devel mailing list