Re: Build versionless .so for Android
Andres Freund <andres@anarazel.de>
From: Andres Freund <andres@anarazel.de>
To: Peter Eisentraut <peter@eisentraut.org>
Cc: Matthias Kuhn <matthias@opengis.ch>, Joe Conway <mail@joeconway.com>, Michael Paquier <michael@paquier.xyz>, pgsql-hackers@lists.postgresql.org
Date: 2024-01-05T20:34:06Z
Lists: pgsql-hackers
Attachments
- android.diff (text/x-diff) patch
Hi, On 2024-01-05 16:00:01 +0100, Peter Eisentraut wrote: > On 01.01.24 06:25, Matthias Kuhn wrote: > > It looks like meson does not currently support building for android, the > > following output is what I get (but I have actually no experience with > > meson): > > > > meson.build:320:2: ERROR: Problem encountered: unknown host system: > > android > > FWIW, the meson source code contains numerous mentions of an 'android' > platform, so it seems like this is expected to work. This error is from our code, not meson's - the simplest fix would be to just map android to linux, similar to how dragonflybsd is mapped to netbsd. Blind attempt attached. It looks like that might be all that's required, as it looks like meson knows that android doesn't properly deal with soversion. Greetings, Andres Freund
Commits
-
Support shared libraries on Android (using make)
- 79b03dbb3304 17.0 landed
-
meson: Map host_system android to linux
- f4447af5b1a6 17.0 landed
-
meson: portname was set too early
- 4b4b3467ee36 17.0 landed
- 8b31b689f4db 16.2 landed