index f94d59d1c5970a14013fd10b9e4cfc0e78c310ae..8ca51ca03f75db44e96d74e077b17bce8cfbab81 100644 (file)
ifeq ($(PORTNAME), linux)
LINK.shared = $(COMPILER) -shared
ifdef soname
+ ifneq (,$(findstring linux-android,$(host_os)))
+ # Android uses unversioned shared libraries
+ shlib = $(shlib_bare)
+ soname = $(shlib_bare)
+ endif
LINK.shared += -Wl,-soname,$(soname)
endif
BUILD.exports = ( echo '{ global:'; $(AWK) '/^[^\#]/ {printf "%s;\n",$1ドル}' $<; echo ' local: *; };' ) >$@