Re: meson: Add _static and _shared suffixes to the library names

From: Wolfgang Walther <walther(at)technowledgy(dot)de>
To: Nazir Bilal Yavuz <byavuz81(at)gmail(dot)com>, Peter Eisentraut <peter(at)eisentraut(dot)org>
Cc: Jacob Champion <jacob(dot)champion(at)enterprisedb(dot)com>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>, Andres Freund <andres(at)anarazel(dot)de>
Subject: Re: meson: Add _static and _shared suffixes to the library names
Date: 2025-08-13 07:50:25
Message-ID: 57fca528-ec15-4928-bd77-c05a271a334c@technowledgy.de
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Nazir Bilal Yavuz:
> 1- Setting different names for .pdb files for shared libraries only on
> the Windows OS. I think that is the correct fix, it just adds _shared
> suffix to .pdb files of shared libraries on the Windows OS.

How about renaming the .pdb files, but instead of adding _shared, rename
both .pdb files to libpq.a.pdb and libpq.dll.pdb?

I think that would be much clearer than libpq.pdb and libpq_shared.pdb.

Best,

Wolfgang

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Erik Nordström 2025-08-13 08:05:04 Fix for typo in UUIDv7 timestamp extraction
Previous Message Thomas Munro 2025-08-13 07:38:37 Re: `pg_ctl init` crashes when run concurrently; semget(2) suspected