Commit 13c381a0 authored by Antoine Cellerier's avatar Antoine Cellerier

Make it possible to use configure script for out of dir builds.

parent 84ffa0d4
#!/bin/sh
root=$(echo $0|sed 's#extras/package/win32/configure-cygwin.sh##')./
PATH="/usr/win32/bin:$PATH" \ PATH="/usr/win32/bin:$PATH" \
PKG_CONFIG_LIBDIR=/usr/win32/lib/pkgconfig \ PKG_CONFIG_LIBDIR=/usr/win32/lib/pkgconfig \
CPPFLAGS="-I/usr/win32/include -I/usr/win32/include/ebml" \ CPPFLAGS="-I/usr/win32/include -I/usr/win32/include/ebml" \
LDFLAGS="-L/usr/win32/lib" \ LDFLAGS="-L/usr/win32/lib" \
CC="gcc -mno-cygwin" CXX="g++ -mno-cygwin" \ CC="gcc -mno-cygwin" CXX="g++ -mno-cygwin" \
CONFIG="./configure --host=i686-pc-mingw32 --disable-taglib --disable-mkv --enable-debug" \ CONFIG="${root}configure --host=i686-pc-mingw32 --disable-taglib --disable-mkv --enable-debug" \
sh extras/package/win32/configure-common.sh sh ${root}extras/package/win32/configure-common.sh
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment