Subject: bug#66507: 30.0.50; Cannot build some modules without adding LOCAL_EXPORT_CFLAGS=-isystem ... on Android port.

From: Po Lu <[email-masked]>
Date: Fri, 13 Oct 2023 09:06:11 +0800

Takesi Ayanokoji <[email-masked]> writes:

> Hello,
>
> Duaring building Emacs Android port, I encountered some modules that could not build without specifying system include header file by -isystem.
>
> These modules are
>
> libxml2:
> add LOCAL_EXPORT_CFLAGS := -isystem $(LOCAL_PATH)/include
>  to its Android.mk.
>
> lbjansson:
> add LOCAL_EXPORT_CFLAGS := -isystem $(LOCAL_PATH)/src -I $(LOCAL_PATH)/android
>  to its Android.mk
>
> core/libpackagelistparser:
> add LOCAL_EXPORT_CFLAGS := -isystem $(LOCAL_PATH)/../include
> (I installed it from core/libpackagelistparser)
>
> Thanks,

IIRC all three of these changes are mentioned in java/INSTALL, but
please correct me if I'm wrong.