1
0
Fork 0

Statically link std libraries under mingw

Allows for easier redistribution.

No functional change.
sf_3_base
Marco Costalba 2013-02-21 05:27:26 +01:00
parent 9a1d5f0f1d
commit 373503f4a9
1 changed files with 4 additions and 0 deletions

View File

@ -256,6 +256,10 @@ endif
### 3.3 General linker settings
LDFLAGS = $(EXTRALDFLAGS)
ifeq ($(comp),mingw)
LDFLAGS += -static-libstdc++ -static-libgcc
endif
### On mingw use Windows threads, otherwise POSIX
ifneq ($(comp),mingw)
# Haiku has pthreads in its libroot, so only link it in on other platforms