1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-11-25 07:28:20 +00:00
emacs/cross
Po Lu 7a0f4de3c1 Improve C++ standard library detection on Android
* configure.ac: Stop relaying --with-ndk-cxx-shared to the
nested invocation of configure.

* build-aux/ndk-build-helper-1.mk (SYSTEM_LIBRARIES):

* build-aux/ndk-build-helper-2.mk (SYSTEM_LIBRARIES): Insert all
of the C++ libraries available on Android.

* configure.ac: Call ndk_LATE and ndk_LATE_EARLY within if
statement at toplevel, averting needless calls to AC_PROG_CXX.

* cross/ndk-build/Makefile.in (NDK_BUILD_CXX_STL)
(NDK_BUILD_CXX_LDFLAGS):

* cross/ndk-build/ndk-build.mk.in (NDK_BUILD_CXX_STL)
(NDK_BUILD_CXX_LDFLAGS): New variables.

* cross/ndk-build/ndk-resolve.mk (NDK_SYSTEM_LIBRARIES):
Introduce several other C++ libraries sometimes present on
Android.
(NDK_SO_EXTRA_FLAGS_$(LOCAL_MODULE)): Insert NDK_BUILD_CXX_STL
when any of these new C++ libraries are requested.

* m4/ndk-build.m4: Completely rewrite C++ compiler and library
detection.

* java/org/gnu/emacs/EmacsNative.java (EmacsNative): Attempt to
load more libraries from static initializer.

* java/INSTALL: Remove obsolete information.
2024-03-17 19:34:09 +08:00
..
ndk-build Improve C++ standard library detection on Android 2024-03-17 19:34:09 +08:00
langinfo.h ; Add 2024 to copyright years 2024-01-02 10:30:05 +08:00
Makefile.in ; Add 2024 to copyright years 2024-01-02 10:30:05 +08:00
README ; * cross/README: Update. 2023-03-05 10:22:49 +08:00
verbose.mk.android Port to GNU Make 03ecd94488b85adc38746ec3e7c2a297a522598e 2024-02-08 23:22:00 -08:00

This directory holds Makefiles and other required assets to build an
Emacs binary independently for another toolchain.

The directory ndk-build also contains an implementation of the Android
`ndk-build' build system.