1
0
Fork 0
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:
Marco Costalba 2013-09-01 13:37:26 -07:00
parent aee404f532
commit 849b089a63

View file

@ -263,10 +263,13 @@ 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)