Re: Build versionless .so for Android
Peter Eisentraut <peter@eisentraut.org>
From: Peter Eisentraut <peter@eisentraut.org>
To: Matthias Kuhn <matthias@opengis.ch>
Cc: pgsql-hackers@lists.postgresql.org, Andres Freund <andres@anarazel.de>
Date: 2024-01-23T19:42:54Z
Lists: pgsql-hackers
On 19.01.24 18:12, Matthias Kuhn wrote: > Thanks, > > This patch brought it further and indeed, the resulting libpq.so file is > unversioned when built for Android while it's versioned when built for > linux. Ok, I have committed all of this now: - Fix for correct order of host_system and portname assignment in meson.build. - Patch from Andres to map android to linux in meson.build. - Makefile.shlib support for Android (based on your patch, but I reworked it a bit). So this should all work for you now.
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