Build versionless .so for Android

Matthias Kuhn <matthias@opengis.ch>

From: Matthias Kuhn <matthias@opengis.ch>
To: pgsql-hackers@lists.postgresql.org
Date: 2023-12-31T05:08:04Z
Lists: pgsql-hackers

Attachments

Hi,

In order to ship libpq on Android, it needs to be built without a version
suffix on the .so file.
The attached patch will make sure that no version is added when built for
Android.
I was wondering if there are a) any comments on the approach and if I
should be handed in for a commitfest (currently waiting for the cooldown
period after account activation, I am not sure how long that is)

Thank you for any feedback
Matthias

Commits

  1. Support shared libraries on Android (using make)

  2. meson: Map host_system android to linux

  3. meson: portname was set too early