mirror of
https://github.com/sockspls/badfish
synced 2025-05-01 17:19:36 +00:00
Statically link std libraries under mingw
Allows for easier redistribution. No functional change.
This commit is contained in:
parent
9a1d5f0f1d
commit
373503f4a9
1 changed files with 4 additions and 0 deletions
|
@ -256,6 +256,10 @@ endif
|
||||||
### 3.3 General linker settings
|
### 3.3 General linker settings
|
||||||
LDFLAGS = $(EXTRALDFLAGS)
|
LDFLAGS = $(EXTRALDFLAGS)
|
||||||
|
|
||||||
|
ifeq ($(comp),mingw)
|
||||||
|
LDFLAGS += -static-libstdc++ -static-libgcc
|
||||||
|
endif
|
||||||
|
|
||||||
### On mingw use Windows threads, otherwise POSIX
|
### On mingw use Windows threads, otherwise POSIX
|
||||||
ifneq ($(comp),mingw)
|
ifneq ($(comp),mingw)
|
||||||
# Haiku has pthreads in its libroot, so only link it in on other platforms
|
# Haiku has pthreads in its libroot, so only link it in on other platforms
|
||||||
|
|
Loading…
Add table
Reference in a new issue