summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorpp <pp@455248ca-bdda-0310-9134-f4ebb693071a>2008-03-22 19:47:30 +0000
committerpp <pp@455248ca-bdda-0310-9134-f4ebb693071a>2008-03-22 19:47:30 +0000
commit8c1d9e64746debf06465fb5213f37159e69b1592 (patch)
tree80ba0b50368e907433738cba9941fe6e65d5db1d
parentca381af64cac2047edc08da654754b42861e7501 (diff)
- use svnversion in win32 build script
git-svn-id: https://lampka.siedziba.pl:790/svn/repos/lingot-win32@313 455248ca-bdda-0310-9134-f4ebb693071a
-rwxr-xr-xwin32-cross-build.sh5
1 files changed, 1 insertions, 4 deletions
diff --git a/win32-cross-build.sh b/win32-cross-build.sh
index c5740de..c78f03a 100755
--- a/win32-cross-build.sh
+++ b/win32-cross-build.sh
@@ -1,8 +1,5 @@
#!/bin/sh
-svn up
-STAT=$(svn status)
-test "x$STAT" == "x" || PLUS="+"
-REV=$(svn info | grep Revision | cut -d' ' -f2)$PLUS
+REV=$(svnversion)
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'