Merge pull request #2176 from phreakmonkey/mfkey-pthreads

Fix pthreads on older gcc
This commit is contained in:
Iceman 2023-11-27 14:54:46 +01:00 committed by GitHub
commit 7d9326c60d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -9,6 +9,11 @@ INSTALLTOOLS = $(BINS)
include ../../Makefile.host
# nested_util.c needs pthread support. Older glibc needs it externally
ifneq ($(SKIPPTHREAD),1)
MYLDLIBS += -lpthread
endif
# checking platform can be done only after Makefile.host
ifneq (,$(findstring MINGW,$(platform)))
# Mingw uses by default Microsoft printf, we want the GNU printf (e.g. for %z)