mirror of
https://github.com/cuberite/libdeflate.git
synced 2025-09-11 13:32:14 -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
|
endif
|
||||||
|
|
||||||
# macOS?
|
# macOS?
|
||||||
else ifeq ($(shell uname),Darwin)
|
else ifneq ($(findstring -darwin,$(shell $(CC) -dumpmachine 2>/dev/null)),)
|
||||||
SHARED_LIB := libdeflate.$(SOVERSION).dylib
|
SHARED_LIB := libdeflate.$(SOVERSION).dylib
|
||||||
SHARED_LIB_SYMLINK := libdeflate.dylib
|
SHARED_LIB_SYMLINK := libdeflate.dylib
|
||||||
SHARED_LIB_CFLAGS := -fPIC
|
SHARED_LIB_CFLAGS := -fPIC
|
||||||
|
Loading…
x
Reference in New Issue
Block a user