Created attachment 59109 [details] [review] Add pkg-config --static to Android build On Android, use pkg-config --static This makes it output the complete dependency chain for each library, e.g. libffi for GObject. This is necessary because Android toolchains don't follow shared library interdependencies like normal GNU toolchains.
According to pkg-config --help: --static output linker flags for static linking Is this what we are moving to, for the Android build? That's quite different from what the commit message says.
The result of that flag is that pkg-config will output the whole dependency chain. In the case at hand, without that flag, pkg-config will only output the flags for glib. With the flag, it will also output the flags for libffi, which is a new glib dependency. It's either that, or add the libffi flags in configure.ac, and all the relevant Makefile.am files
(In reply to comment #2) > The result of that flag is that pkg-config will output the whole dependency > chain. Android does need this, so, applied.
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.