changeset 60:a1195af1b5e6

bugfix: enable libMikMod and Vorbis to recognice -lpthreads
author Volker Grabsch <vog@notjusthosting.com>
date Wed, 04 Jul 2007 14:06:46 +0000
parents ce7c05a47782
children 220985c5e013
files build_mingw_cross_env.sh
diffstat 1 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/build_mingw_cross_env.sh	Wed Jul 04 06:53:30 2007 +0200
+++ b/build_mingw_cross_env.sh	Wed Jul 04 14:06:46 2007 +0000
@@ -1339,6 +1339,7 @@
     NM="$TARGET-nm" \
     RANLIB="$TARGET-ranlib" \
     STRIP="$TARGET-strip" \
+    LIBS="-lws2_32"
     ./configure \
         --disable-shared \
         --prefix="$PREFIX/$TARGET" \
@@ -1420,7 +1421,8 @@
     ./configure \
         --host="$TARGET" \
         --disable-shared \
-        --prefix="$PREFIX/$TARGET"
+        --prefix="$PREFIX/$TARGET" \
+        LIBS="-lws2_32"
     $MAKE install bin_PROGRAMS= noinst_PROGRAMS=
     cd "$SOURCE"
     rm -rfv "libvorbis-$VERSION_vorbis"