[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:46:22 CEST 2009


vlc | branch: 1.0-bugfix | Jean-Baptiste Kempf <jb at videolan.org> | Sun Jul 26 02:44:27 2009 +0200| [92b9511d7486dedcf6404e943b8bbb25f1db811b] | committer: Jean-Baptiste Kempf 

Don't forget pthread when compiling zvbi for win32
(cherry picked from commit 9eb5b0cea12a3edbed3d291a868236fa61eafdd8)

Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

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

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

diff --git a/configure.ac b/configure.ac
index 1da96ac..eb13704 100644
--- a/configure.ac
+++ b/configure.ac
@@ -3834,6 +3834,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