Clean up and fix win x-compile script
authorRobin Gareus <robin@gareus.org>
Wed, 20 Sep 2017 12:15:27 +0000 (14:15 +0200)
committerRobin Gareus <robin@gareus.org>
Wed, 20 Sep 2017 12:15:27 +0000 (14:15 +0200)
tools/x-win/compile.sh

index 643e3d84e68e71b674f83e465b7431f655022235..6f8e141685c99b87c271415eadebe156f2c6ec56 100755 (executable)
@@ -74,13 +74,15 @@ fi
 
 CFLAGS="-mstackrealign$OPT" \
 CXXFLAGS="-mstackrealign$OPT" \
-LDFLAGS="-L${PREFIX}/lib" ./waf configure \
+LDFLAGS="-L${PREFIX}/lib" \
 DEPSTACK_ROOT="$PREFIX" \
+./waf configure \
        --keepflags \
        --dist-target=mingw \
        --also-include=${PREFIX}/include \
        $ARDOURCFG \
        --prefix=${PREFIX}
+
 ./waf ${CONCURRENCY}
 
 if [ "$(id -u)" = "0" ]; then