Merge pull request #63 from d0k3/patch-1

Always link compiler libs statically on Windows.
This commit is contained in:
profi200
2017-10-29 19:48:20 +01:00
committed by GitHub
+2 -2
View File
@@ -15,14 +15,14 @@ ifneq (, $(findstring linux, $(SYS)))
else ifneq(, $(findstring cygwin, $(SYS)))
# Cygwin
CFLAGS += -Wno-unused-but-set-variable -DUSE_FILE32API
LIBS += -liconv
LIBS += -liconv -static-libgcc -static-libstdc++
else ifneq(, $(findstring darwin, $(SYS)))
# OS X
LIBS += -liconv
else
#Windows Build CFG
CFLAGS += -Wno-unused-but-set-variable
LIBS += -static-libgcc
LIBS += -static-libgcc -static-libstdc++
endif
main: $(OBJS)