first windows distributions
[convexer.git] / build.sh
index cee4b103263e5d46786f7578740fd6a29f8c1c31..6cf104cdab8285be63d89bdbb367b719fc65daf5 100755 (executable)
--- a/build.sh
+++ b/build.sh
@@ -16,8 +16,10 @@ fi
 target_os_windows(){
    exe_ext=".exe"
    lib_ext=".dll"
-   compiler_prefix="i686-w64-mingw32-"
+   compiler_prefix="x86_64-w64-mingw32-"
    asan=""
+
+   echo "CXR_GNU_LINUX=0" > platform.py
 }
 
 target_os_gnu_linux(){
@@ -26,6 +28,8 @@ target_os_gnu_linux(){
    compiler_prefix=""
    
    asan="-fsanitize=address"
+
+   echo "CXR_GNU_LINUX=1" > platform.py
 }
 
 compile(){