mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-05 22:20:24 -08:00
Minor enhancements to the Android build system
* build-aux/ndk-build-helper-1.mk: * build-aux/ndk-build-helper-2.mk: * cross/ndk-build/ndk-build-shared-library.mk: * cross/ndk-build/ndk-build-static-library.mk: * cross/ndk-build/ndk-resolve.mk (NDK_SO_EXTRA_FLAGS_$(LOCAL_MODULE)): (NDK_LOCAL_SO_NAMES_$(LOCAL_MODULE)): (NDK_LOCAL_A_NAMES_$(LOCAL_MODULE)): Reinforce tests for string prefixes. * m4/ndk-build.m4 (ndk_INIT): Guarantee that a module's dependencies are recorded. * configure.ac (XCONFIGURE): Prepare for building librsvg.
This commit is contained in:
parent
c86995d07e
commit
a48f062e36
7 changed files with 18 additions and 13 deletions
|
|
@ -37,7 +37,7 @@ $(info Building $(build_kind))
|
|||
$(info $(LOCAL_MODULE))
|
||||
$(info $(addprefix $(LOCAL_PATH)/,$(LOCAL_SRC_FILES) $(LOCAL_SRC_FILES$(EMACS_ABI))))
|
||||
|
||||
ifeq ($(findstring lib,$(LOCAL_MODULE)),lib)
|
||||
ifeq ($(filter-out lib%,$(LOCAL_MODULE)),)
|
||||
NDK_SO_NAMES = $(LOCAL_MODULE)_emacs.so
|
||||
else
|
||||
NDK_SO_NAMES = lib$(LOCAL_MODULE)_emacs.so
|
||||
|
|
@ -50,7 +50,7 @@ $$(foreach module,$$(filter-out $$(SYSTEM_LIBRARIES), $$(NDK_$(1)_STATIC_LIBRARI
|
|||
endef
|
||||
|
||||
define add-so-name
|
||||
ifeq ($(findstring lib,$(1)),lib)
|
||||
ifeq ($(filter-out lib%,$(1)),)
|
||||
NDK_SO_NAME = $(1)_emacs.so
|
||||
else
|
||||
NDK_SO_NAME = lib$(1)_emacs.so
|
||||
|
|
|
|||
|
|
@ -31,14 +31,14 @@ $(info Building $(build_kind))
|
|||
$(info $(LOCAL_MODULE))
|
||||
$(info $(addprefix $(LOCAL_PATH)/,$(LOCAL_SRC_FILES) $(LOCAL_SRC_FILES$(EMACS_ABI))))
|
||||
|
||||
ifeq ($(findstring lib,$(LOCAL_MODULE)),lib)
|
||||
ifeq ($(filter-out lib%,$(LOCAL_MODULE)),)
|
||||
NDK_A_NAMES = $(LOCAL_MODULE).a
|
||||
else
|
||||
NDK_A_NAMES = lib$(LOCAL_MODULE).a
|
||||
endif
|
||||
|
||||
define add-a-name
|
||||
ifeq ($(findstring lib,$(1)),lib)
|
||||
ifeq ($(filter-out lib%,$(1)),)
|
||||
NDK_A_NAME = $(1).a
|
||||
else
|
||||
NDK_A_NAME = lib$(1).a
|
||||
|
|
@ -58,7 +58,7 @@ endif
|
|||
endef
|
||||
|
||||
define add-so-name
|
||||
ifeq ($(findstring lib,$(1)),lib)
|
||||
ifeq ($(filter-out lib%,$(1)),)
|
||||
NDK_SO_NAME = $(1)_emacs.so
|
||||
else
|
||||
NDK_SO_NAME = lib$(1)_emacs.so
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue