From 377ca5d31a35009913a795c8542659e4872d7c35 Mon Sep 17 00:00:00 2001 From: Alexander Date: Mon, 24 Feb 2020 13:08:21 -0500 Subject: Fixed make for windows Windows builds would break every time there was a windows update, removing the -shared compile flag seems to fix that. --- Makefile.win | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'Makefile.win') diff --git a/Makefile.win b/Makefile.win index cd983cb..059b3f1 100644 --- a/Makefile.win +++ b/Makefile.win @@ -37,6 +37,10 @@ CLIENT_LIBS=\ #-lstdc++ CFLAGS+=-DNNG_STATIC_LIB +ifeq ($(DEBUG), true) +else + LDFLAGS += -mwindows +endif all : $(bins) echo "Done" -- cgit v1.2.3-70-g09d2