From f923cd4beaf1c97f5873a9549b216c67520a8cca Mon Sep 17 00:00:00 2001 From: Treeki Date: Thu, 23 Jan 2014 23:42:54 +0100 Subject: add build_static.sh, make gnutls usage a define --- build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'build.sh') diff --git a/build.sh b/build.sh index 72a77af..935cae6 100755 --- a/build.sh +++ b/build.sh @@ -3,7 +3,7 @@ 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="-std=c++11 -lgnutls -pthread -g" +FLAGS="-std=c++11 -DUSE_GNUTLS -lgnutls -pthread -g" g++ -o binary/nb4 $FLAGS $SOURCES -- cgit v1.2.3