mirror of
https://github.com/cuberite/libdeflate.git
synced 2025-08-03 09:46:04 -04:00
buildsys: change verify macOS platform condition
to support cross-compile for Android on macOS Fixes #147
This commit is contained in:
parent
6ca065f9f8
commit
52b61d98d8
2
Makefile
2
Makefile
@ -113,7 +113,7 @@ ifneq ($(findstring -mingw,$(shell $(CC) -dumpmachine 2>/dev/null)),)
|
||||
endif
|
||||
|
||||
# macOS?
|
||||
else ifeq ($(shell uname),Darwin)
|
||||
else ifneq ($(findstring -darwin,$(shell $(CC) -dumpmachine 2>/dev/null)),)
|
||||
SHARED_LIB := libdeflate.$(SOVERSION).dylib
|
||||
SHARED_LIB_SYMLINK := libdeflate.dylib
|
||||
SHARED_LIB_CFLAGS := -fPIC
|
||||
|
Loading…
x
Reference in New Issue
Block a user