changeset 63:352d63d6a752

bugfixes for OGG and Vorbis
author Volker Grabsch <vog@notjusthosting.com>
date Wed, 04 Jul 2007 16:16:52 +0200
parents de47656ba778
children 0627ea35c882
files build_mingw_cross_env.sh
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/build_mingw_cross_env.sh	Wed Jul 04 14:12:31 2007 +0000
+++ b/build_mingw_cross_env.sh	Wed Jul 04 16:16:52 2007 +0200
@@ -1379,6 +1379,8 @@
     cd "$SOURCE"
     tar xfvz "$DOWNLOAD/libogg-$VERSION_ogg.tar.gz"
     cd "libogg-$VERSION_ogg"
+    # wine confuses the cross-compiling detection, so set it explicitly
+    $SED 's,cross_compiling=no,cross_compiling=yes,' -i configure
     ./configure \
         --host="$TARGET" \
         --disable-shared \
@@ -1422,6 +1424,7 @@
         --host="$TARGET" \
         --disable-shared \
         --prefix="$PREFIX/$TARGET" \
+        PKG_CONFIG="$TARGET-pkg-config" \
         LIBS="-lws2_32"
     $MAKE install bin_PROGRAMS= noinst_PROGRAMS=
     cd "$SOURCE"