Re: Build versionless .so for Android

From: Peter Eisentraut <peter(at)eisentraut(dot)org>
To: Matthias Kuhn <matthias(at)opengis(dot)ch>
Cc: pgsql-hackers(at)lists(dot)postgresql(dot)org, Andres Freund <andres(at)anarazel(dot)de>
Subject: Re: Build versionless .so for Android
Date: 2024-01-23 19:42:54
Message-ID: 545714aa-f64b-4e01-947e-557126f0aebe@eisentraut.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
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.

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Andres Freund 2024-01-23 19:47:08 Re: Remove pthread_is_threaded_np() checks in postmaster
Previous Message Tom Lane 2024-01-23 19:38:54 Re: pgsql: Add better handling of redundant IS [NOT] NULL quals