aboutsummaryrefslogtreecommitdiff
path: root/Makefile.shared
diff options
context:
space:
mode:
authorAlexander <alex@cogarr.net>2020-02-24 13:08:21 -0500
committerAlexander <alex@cogarr.net>2020-02-24 13:08:21 -0500
commit377ca5d31a35009913a795c8542659e4872d7c35 (patch)
treea0bc1ed0e68813b27095c53904cbe48348da72b9 /Makefile.shared
parent0d2de2ba9c616862d7881f089382db772d034f89 (diff)
downloadbrokengine-377ca5d31a35009913a795c8542659e4872d7c35.tar.gz
brokengine-377ca5d31a35009913a795c8542659e4872d7c35.tar.bz2
brokengine-377ca5d31a35009913a795c8542659e4872d7c35.zip
Fixed make for windows
Windows builds would break every time there was a windows update, removing the -shared compile flag seems to fix that.
Diffstat (limited to 'Makefile.shared')
-rw-r--r--Makefile.shared2
1 files changed, 1 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