hey guys,
glad to be part of such an awesome community.
I am asking for help. I am on ubuntu and try to compile Emacs for Android.
Did anyone manage to link GLIB in emacs when building for Android? I followed instructions in this topic: Emacs packaging - #6 by repetitivestrain (btw thank you @repetitivestrain for the awesome job! ).
This is what I do just like in the linked post:
./configure --with-android=/home/mold/android-sdk/platforms/android-34/android.jar ANDROID_CC=/home/mold/android-sdk/ndk/26.3.11579264/toolchains/llvm/prebuilt/linux-x86_64/bin/x86_64-linux-android34-clang SDK_BUILD_TOOLS=/home/mold/android-sdk/build-tools/34.0.0 --without-android-debug --with-ndk-path="$(cat $deps/search-path.txt)" --with-gif --with-xml2 --with-jpeg --with-png --with-sqlite3 --with-webp --with-gnutls --with-tiff --with-selinux --with-tree-sitter --with-harfbuzz
The search-path.txt includes a path to glib:
/home/mold/projects/test3/emacs/emacs_deps/glib-2.33.14
After the configure
script I run make all
and install the app on an android emulator.
In the app I go to Help → Describe Variable → I type in system-configuration-features
. Emacs lists here all enabled features and my expectation was that GLIB is listed as well, like in the attached picture.
In my case all features but GLIB is listed. I do no understand why.
Am I missing smth?
Please let me know, if you had the same problem.