mirror of
https://github.com/DarkStore-3DS/Project_CTR.git
synced 2026-07-04 16:59:02 +00:00
Merge pull request #63 from d0k3/patch-1
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)))
|
else ifneq(, $(findstring cygwin, $(SYS)))
|
||||||
# Cygwin
|
# Cygwin
|
||||||
CFLAGS += -Wno-unused-but-set-variable -DUSE_FILE32API
|
CFLAGS += -Wno-unused-but-set-variable -DUSE_FILE32API
|
||||||
LIBS += -liconv
|
LIBS += -liconv -static-libgcc -static-libstdc++
|
||||||
else ifneq(, $(findstring darwin, $(SYS)))
|
else ifneq(, $(findstring darwin, $(SYS)))
|
||||||
# OS X
|
# OS X
|
||||||
LIBS += -liconv
|
LIBS += -liconv
|
||||||
else
|
else
|
||||||
#Windows Build CFG
|
#Windows Build CFG
|
||||||
CFLAGS += -Wno-unused-but-set-variable
|
CFLAGS += -Wno-unused-but-set-variable
|
||||||
LIBS += -static-libgcc
|
LIBS += -static-libgcc -static-libstdc++
|
||||||
endif
|
endif
|
||||||
|
|
||||||
main: $(OBJS)
|
main: $(OBJS)
|
||||||
|
|||||||
Reference in New Issue
Block a user