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,9 +263,12 @@ 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
|
# On Android Bionic's C library comes with its own pthread implementation bundled in
|
||||||
ifneq ($(UNAME),Haiku)
|
ifneq ($(arch),armv7)
|
||||||
LDFLAGS += -lpthread
|
# Haiku has pthreads in its libroot, so only link it in on other platforms
|
||||||
|
ifneq ($(UNAME),Haiku)
|
||||||
|
LDFLAGS += -lpthread
|
||||||
|
endif
|
||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue