[vlc-devel] commit: [Win32] Update the package configuration. (Jean-Baptiste Kempf )
git version control
git at videolan.org
Thu Nov 27 00:55:04 CET 2008
vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Thu Nov 27 00:51:54 2008 +0100| [f6d65479de1af38157ac70158fa7eee1a0c3af59] | committer: Jean-Baptiste Kempf
[Win32] Update the package configuration.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=f6d65479de1af38157ac70158fa7eee1a0c3af59
---
extras/package/win32/configure-mingw-release.sh | 8 ++++++--
extras/package/win32/configure-mingw.sh | 8 ++++++--
extras/package/win32/configure-msys.sh | 8 ++++++--
3 files changed, 18 insertions(+), 6 deletions(-)
diff --git a/extras/package/win32/configure-mingw-release.sh b/extras/package/win32/configure-mingw-release.sh
index 67e504e..1c453a1 100755
--- a/extras/package/win32/configure-mingw-release.sh
+++ b/extras/package/win32/configure-mingw-release.sh
@@ -1,8 +1,12 @@
+#!/bin/sh
+
+root=$(echo $0|sed 's#extras/package/win32/configure-cygwin.sh##')./
+
PATH="/usr/win32/bin:$PATH" \
PKG_CONFIG_LIBDIR=/usr/win32/lib/pkgconfig \
CPPFLAGS="-I/usr/win32/include -I/usr/win32/include/ebml" \
LDFLAGS="-L/usr/win32/lib" \
CC=i586-mingw32msvc-gcc CXX=i586-mingw32msvc-g++ \
-CONFIG="./configure --host=i586-mingw32msvc --build=i386-linux
+CONFIG="${root}configure --host=i586-mingw32msvc --build=i386-linux
--enable-mkv --enable-release --enable-nls" \
-sh extras/package/win32/configure-common.sh
+sh ${root}extras/package/win32/configure-common.sh
diff --git a/extras/package/win32/configure-mingw.sh b/extras/package/win32/configure-mingw.sh
index e33cb0c..50e2a07 100755
--- a/extras/package/win32/configure-mingw.sh
+++ b/extras/package/win32/configure-mingw.sh
@@ -1,8 +1,12 @@
+#!/bin/sh
+
+root=$(echo $0|sed 's#extras/package/win32/configure-cygwin.sh##')./
+
PATH="/usr/win32/bin:$PATH" \
PKG_CONFIG_LIBDIR=/usr/win32/lib/pkgconfig \
CPPFLAGS="-I/usr/win32/include -I/usr/win32/include/ebml" \
LDFLAGS="-L/usr/win32/lib" \
CC=i586-mingw32msvc-gcc CXX=i586-mingw32msvc-g++ \
-CONFIG="./configure --host=i586-mingw32msvc --build=i386-linux
+CONFIG="${root}configure --host=i586-mingw32msvc --build=i386-linux
--disable-mkv --disable-taglib --enable-debug" \
-sh extras/package/win32/configure-common.sh
+sh ${root}extras/package/win32/configure-common.sh
diff --git a/extras/package/win32/configure-msys.sh b/extras/package/win32/configure-msys.sh
old mode 100644
new mode 100755
index f0b73bf..7d0cce5
--- a/extras/package/win32/configure-msys.sh
+++ b/extras/package/win32/configure-msys.sh
@@ -1,8 +1,12 @@
+#!/bin/sh
+
+root=$(echo $0|sed 's#extras/package/win32/configure-cygwin.sh##')./
+
PATH="/usr/win32/bin:$PATH" \
PKG_CONFIG_LIBDIR=/usr/win32/lib/pkgconfig \
CPPFLAGS="-I/usr/win32/include -I/usr/win32/include/ebml" \
LDFLAGS="-L/usr/win32/lib" \
CC=gcc CXX=g++ \
-CONFIG="./configure --host=i586-mingw32msvc --build=i386-linux
+CONFIG="${root}configure --host=i586-mingw32msvc --build=i386-linux
--disable-mkv --disable-taglib --disable-nls --enable-debug" \
-sh extras/package/win32/configure-common.sh
+sh ${root}extras/package/win32/configure-common.sh
More information about the vlc-devel
mailing list