mirror of
https://github.com/DarkStore-3DS/Project_CTR.git
synced 2026-07-03 00:39:14 +00:00
Always link compiler libs statically on Windows.
This commit is contained in:
+2
-2
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user