diff options
| -rw-r--r-- | Makefile.shared | 2 | ||||
| -rw-r--r-- | Makefile.win | 4 |
2 files changed, 5 insertions, 1 deletions
diff --git a/Makefile.shared b/Makefile.shared index 05466b5..f2df81f 100644 --- a/Makefile.shared +++ b/Makefile.shared @@ -64,7 +64,7 @@ CFLAGS += -Ilib/luajit/src -Ilib/irrlicht/include -Isrc -Ilib/bullet/src -Ilib/t ifeq ($(DEBUG), true) CFLAGS += -g -shared -Wall -Werror -fPIC - LDFLAGS += -shared + LDFLAGS += #-shared #The -shared flags seemes to break the binary whever there's a windows update. else CFLAGS += -static -O3 LDFLAGS += -static 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" |
