Skip to content

Commit

Permalink
Merge pull request #2176 from phreakmonkey/mfkey-pthreads
Browse files Browse the repository at this point in the history
Fix pthreads on older gcc
  • Loading branch information
iceman1001 authored Nov 27, 2023
2 parents f73d4a0 + 8bf4e7c commit 7d9326c
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions tools/mfkey/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 7d9326c

Please sign in to comment.