diff options
Diffstat (limited to '')
-rwxr-xr-x | build_static.sh | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/build_static.sh b/build_static.sh new file mode 100755 index 0000000..6ed9183 --- /dev/null +++ b/build_static.sh @@ -0,0 +1,9 @@ +#!/bin/sh +mkdir -p binary + +NETCODE="socketcommon.cpp client.cpp mobileclient.cpp server.cpp ircserver.cpp netcore.cpp" +SOURCES="$NETCODE main.cpp window.cpp dns.cpp" +FLAGS="-static -static-libgcc -static-libstdc++ -std=c++11 -pthread" + +g++ -o binary/nb4_static $FLAGS $SOURCES + |