diff options
Diffstat (limited to 'win32-cross-build.sh')
| -rwxr-xr-x | win32-cross-build.sh | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/win32-cross-build.sh b/win32-cross-build.sh index 41c290c..9c2e74b 100755 --- a/win32-cross-build.sh +++ b/win32-cross-build.sh @@ -1,5 +1,8 @@ #!/bin/sh -export CFLAGS='-I../../portaudio/include/ -I../../pthreads-w32-2-8-0-release/ -DPORTAUDIO' +STAT=$(svn status) +test "x$STAT" == "x" || PLUS="+" +REV=$(svn info | grep Revision | cut -d' ' -f2)$PLUS +export CFLAGS="-I../../portaudio/include/ -I../../pthreads-w32-2-8-0-release/ -DPORTAUDIO -DREV='\"r$REV\"'" export LDFLAGS='-L../../pthreads-w32-2-8-0-release -L../../portaudio/lib/.libs' ./configure --host=i386-mingw32 --enable-nls |
