mirror of
https://github.com/sockspls/badfish
synced 2025-05-01 01:03:09 +00:00
Don't use lpthread for Android
Thanks to Peter Osterlund for the feedback. No functional change.
This commit is contained in:
parent
aee404f532
commit
849b089a63
1 changed files with 6 additions and 3 deletions
|
@ -263,11 +263,14 @@ endif
|
|||
|
||||
### On mingw use Windows threads, otherwise POSIX
|
||||
ifneq ($(comp),mingw)
|
||||
# On Android Bionic's C library comes with its own pthread implementation bundled in
|
||||
ifneq ($(arch),armv7)
|
||||
# Haiku has pthreads in its libroot, so only link it in on other platforms
|
||||
ifneq ($(UNAME),Haiku)
|
||||
LDFLAGS += -lpthread
|
||||
endif
|
||||
endif
|
||||
endif
|
||||
|
||||
ifeq ($(os),osx)
|
||||
LDFLAGS += -arch $(arch) -mmacosx-version-min=10.0
|
||||
|
|
Loading…
Add table
Reference in a new issue