mirror of
https://github.com/cuberite/libdeflate.git
synced 2025-08-03 09:46:04 -04:00
buildsys: android apk do not support soversion
This commit is contained in:
parent
88d45c7e1c
commit
fcafa11201
7
Makefile
7
Makefile
@ -119,6 +119,13 @@ else ifneq ($(findstring -darwin,$(shell $(CC) -dumpmachine 2>/dev/null)),)
|
||||
SHARED_LIB_CFLAGS := -fPIC
|
||||
SHARED_LIB_LDFLAGS := -install_name $(SHARED_LIB)
|
||||
|
||||
# Android?
|
||||
else ifneq ($(findstring -android,$(shell $(CC) -dumpmachine 2>/dev/null)),)
|
||||
SHARED_LIB := libdeflate.so
|
||||
SHARED_LIB_SYMLINK :=
|
||||
SHARED_LIB_CFLAGS := -fPIC
|
||||
SHARED_LIB_LDFLAGS := -Wl,-soname=$(SHARED_LIB)
|
||||
|
||||
# Linux, FreeBSD, etc.
|
||||
else
|
||||
SHARED_LIB := libdeflate.so.$(SOVERSION)
|
||||
|
Loading…
x
Reference in New Issue
Block a user