Re: [RFC] building postgres with meson -v6

From: Peter Eisentraut <peter(dot)eisentraut(at)enterprisedb(dot)com>
To: Andres Freund <andres(at)anarazel(dot)de>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: [RFC] building postgres with meson -v6
Date: 2022-03-24 15:16:15
Message-ID: 2f9861fb-8969-9005-7518-b8e60f2bead9@enterprisedb.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 09.03.22 13:37, Peter Eisentraut wrote:
> v6-0008-meson-prereq-Handle-DLSUFFIX-in-msvc-builds-simil.patch.gz
>
> I think the right way here is actually to go the other way around:
> Move DLSUFFIX into header files for all platforms.  Move the DLSUFFIX
> assignment from src/makefiles/ to src/templates/, have configure read
> it, and then substitute it into Makefile.global and pg_config.h.
>
> Then we also don't have to patch the Windows build code a bunch of
> times to add the DLSUFFIX define everywhere.

This patch should do it.

Attachment Content-Type Size
0001-Refactor-DLSUFFIX-handling.patch text/plain 12.8 KB

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Pavel Borisov 2022-03-24 15:26:45 Re: XID formatting and SLRU refactorings (was: Add 64-bit XIDs into PostgreSQL 15)
Previous Message Peter Eisentraut 2022-03-24 15:13:31 Re: Use -fvisibility=hidden for shared libraries