Notices & clean
[carveJwlIkooP6JGAAIwe30JlM.git] / build.sh
index 9fb788624c2229e93f583e6b1d78ac4c5343ad9e..bb59b6faf6ff3f181f6d46a43ac738727559dc09 100755 (executable)
--- a/build.sh
+++ b/build.sh
@@ -1,5 +1,6 @@
 #!/bin/bash
-# Copyright (C) 2021-2022 Harry Godden (hgn) - All Rights Reserved
+# 
+# Copyright (C) 2021-2022 Mt.ZERO Software, Harry Godden - All Rights Reserved
 # 
 # Main cross-compiling build script for Skate Rift
 # Supports Linux and Windows building from a Linux Host
@@ -148,7 +149,7 @@ vg_command(){
 
          _compiler=$_linux_compiler
          _options=$_linux_options
-         _link="-lm -lsdkencryptedappticket $_linux_linksteam"
+         _link="-pthread -lm -lsdkencryptedappticket $_linux_linksteam"
          _src="server.c"
          _folder=$_linux_server_folder
          _dst="skaterift_server"
@@ -239,5 +240,8 @@ vg_command(){
    esac
 }
 
+lsan_file=$(realpath ".lsan_suppress.txt")
+export LSAN_OPTIONS="suppressions=$lsan_file"
+
 vg_command debug
 source vg/vg_build.sh