Re: Build versionless .so for Android

Robert Haas <robertmhaas@gmail.com>

From: Robert Haas <robertmhaas@gmail.com>
To: Matthias Kuhn <matthias@opengis.ch>
Cc: Michael Paquier <michael@paquier.xyz>, pgsql-hackers@lists.postgresql.org
Date: 2024-01-05T14:44:55Z
Lists: pgsql-hackers
On Thu, Jan 4, 2024 at 7:00 PM Matthias Kuhn <matthias@opengis.ch> wrote:
> Attached a patch with a (hopefully) better wording of the comment.
>
> I have unsuccessfully tried to find an official source for this policy.
> So for reference some discussions about the topic:
>
> - https://stackoverflow.com/questions/11491065/linking-with-versioned-shared-library-in-android-ndk
> - https://stackoverflow.com/questions/18681401/how-can-i-remove-all-versioning-information-from-shared-object-files

This is interesting, but these links are also very old.

I like the new wording of the comment better, but I think we need more
confirmation that this is correct before committing it. Anyone else
here familiar with building on Android?

-- 
Robert Haas
EDB: http://www.enterprisedb.com



Commits

  1. Support shared libraries on Android (using make)

  2. meson: Map host_system android to linux

  3. meson: portname was set too early