Re: Build versionless .so for Android

2024-01-19 Thread Matthias Kuhn
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. Matthias On Fri, Jan 19, 2024 at 3:00 PM Peter Eisentraut wrote: > On 19.01.24 11:08, Matthias Kuhn wrote: > > When trying

Re: Build versionless .so for Android

2024-01-19 Thread Matthias Kuhn
Hi On Thu, Jan 18, 2024 at 9:27 AM Peter Eisentraut wrote: > On 14.01.24 12:37, Matthias Kuhn wrote: > > What I try to do is packaging an app with androiddeployqt which fails > > with an error: > > > > The bundled library lib/libpq.so.5 doesn't end with .so

Re: Build versionless .so for Android

2024-01-14 Thread Matthias Kuhn
the underlying problem: https://bugreports.qt.io/plugins/servlet/mobile#issue/QTBUG-101346 I hope this sheds some light Matthias On Fri, Jan 5, 2024, 21:57 Peter Eisentraut wrote: > On 05.01.24 01:00, Matthias Kuhn wrote: > > Attached a patch with a (hopefully) better wording of th

Re: Build versionless .so for Android

2024-01-04 Thread Matthias Kuhn
Hi, 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 -

Re: Build versionless .so for Android

2023-12-31 Thread Matthias Kuhn
Thanks for all the comments and help. I have added the patch to the January CF. It looks like meson does not currently support building for android, the following output is what I get (but I have actually no experience with meson): meson.build:320:2: ERROR: Problem encountered: unknown host

Build versionless .so for Android

2023-12-30 Thread Matthias Kuhn
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