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-19 14:00:40
Message-ID: 7ab4eb9a-4750-4f29-895a-75380c715dcb@eisentraut.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 19.01.24 11:08, Matthias Kuhn wrote:
> When trying to build with meson, including the patch which was provided
> by Andres Freud (thanks),
> I am currently stuck with the following error:
>
> Configuring pg_config_ext.h using configuration
>
> ../src/tgresql-16-685bc9fc97.clean/src/include/meson.build:12:0: ERROR:
> File port/android.h does not exist.

I think there is actually small bug in the meson setup.

In the top-level meson.build, line 166 has

portname = host_system

but then later around line 190, host_system is changed for some cases
(including the android case that was added in the proposed patch). So
that won't work, and probably also won't work for the existing cases
there. The portname assignment needs to be moved later in the file.
Maybe you can try that on your own.

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Peter Eisentraut 2024-01-19 14:03:37 Re: generate syscache info automatically
Previous Message Alexander Lakhin 2024-01-19 14:00:00 Re: BUG: Former primary node might stuck when started as a standby