projects
/
dcpomatic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
6acc7a2
)
Tidy up.
author
Carl Hetherington
<cth@carlh.net>
Tue, 24 Jul 2012 22:37:16 +0000
(23:37 +0100)
committer
Carl Hetherington
<cth@carlh.net>
Tue, 24 Jul 2012 22:37:16 +0000
(23:37 +0100)
rebuild-windows
patch
|
blob
|
history
diff --git
a/rebuild-windows
b/rebuild-windows
index 3424d7451834118af9b64df466c23b70ec323425..60b4f29ff4dd05a9d61637c5cc515f1ec280ecb8 100755
(executable)
--- a/
rebuild-windows
+++ b/
rebuild-windows
@@
-8,12
+8,21
@@
export WINDOWS_PREFIX="/home/carl/src/windows"
export PKG_CONFIG_LIBDIR=$WINDOWS_PREFIX/lib/pkgconfig
./waf clean
+
export PATH=$WINDOWS_PREFIX/bin:$PATH
+
CXX=$MINGW_CXX WINRC=$MINGW_WINDRES \
CXXFLAGS="-I$WINDOWS_PREFIX/include -I$MINGW_PREFIX/include" \
LINKFLAGS="-L$WINDOWS_PREFIX/lib -L$MINGW_PREFIX/lib" \
./waf configure --target-windows
+if [ "$?" != "0" ]; then
+ exit 1
+fi
+
./waf
+if [ "$?" != "0" ]; then
+ exit 1
+fi
d=`pwd`