[vlc-devel] commit: Fix building module/demux/rtp.c for Win32 and WinCE (mingw32/ mingwce) (Jean-Paul Saman )

git version control git at videolan.org
Sun Jun 8 16:05:23 CEST 2008


vlc | branch: master | Jean-Paul Saman <jpsaman at videolan.org> | Sun Jun  8 16:06:25 2008 +0200| [5112dd3d4b64c1c7a263b2a78f11fa5bd4c216b2]

Fix building module/demux/rtp.c for Win32 and WinCE (mingw32/mingwce)

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

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

diff --git a/configure.ac b/configure.ac
index cc4685a..89b793f 100644
--- a/configure.ac
+++ b/configure.ac
@@ -5303,6 +5303,11 @@ AC_ARG_ENABLE(libgcrypt,
 AS_IF([test "${enable_libgcrypt}" != "no"], [
   AM_PATH_LIBGCRYPT([1:1.1.94], [have_libgcrypt="yes"], [have_libgcrypt="no"])
 ])
+if test "${SYS}" = "mingw32" -o "${SYS}" = "mingwce"; then
+  AS_IF([test "${have_libgcrypt}" = "yes"],[
+    VLC_ADD_LIBS([rtp], [${LIBGCRYPT_LIBS}])
+  ])
+fi
 AM_CONDITIONAL([HAVE_LIBGCRYPT], [test "${have_libgcrypt}" = "yes"])
 
 dnl




More information about the vlc-devel mailing list