Re: meson: pkgconfig difference

From: Peter Eisentraut <peter(dot)eisentraut(at)enterprisedb(dot)com>
To: Andres Freund <andres(at)anarazel(dot)de>, pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: meson: pkgconfig difference
Date: 2023-02-01 17:15:22
Message-ID: 9b067f4e-3803-c4cc-b81a-212e3cbabe92@enterprisedb.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 01.02.23 08:55, Andres Freund wrote:
> Hi,
>
> On January 31, 2023 11:40:52 PM PST, Peter Eisentraut <peter(dot)eisentraut(at)enterprisedb(dot)com> wrote:
>> I think there is a tiny typo in src/interfaces/ecpg/ecpglib/meson.build:
>>
>> diff --git a/src/interfaces/ecpg/ecpglib/meson.build b/src/interfaces/ecpg/ecpglib/meson.build
>> index dba9e3c3d9..da8d304f54 100644
>> --- a/src/interfaces/ecpg/ecpglib/meson.build
>> +++ b/src/interfaces/ecpg/ecpglib/meson.build
>> @@ -57,7 +57,7 @@ pkgconfig.generate(
>> description: 'PostgreSQL libecpg library',
>> url: pg_url,
>> libraries: ecpglib_so,
>> - libraries_private: [frontend_shlib_code, thread_dep],
>> + libraries_private: [frontend_stlib_code, thread_dep],
>> requires_private: ['libpgtypes', 'libpq'],
>> )
>>
>> This makes it match the other libraries.
>>
>> Without this change, we get
>>
>> Libs.private: ... -lpgport_shlib -lpgcommon_shlib
>>
>> which seems wrong.
>
> Ugh, yes, that's wrong. Do you want me to apply the fix?

I've done it now.

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Andres Freund 2023-02-01 17:20:16 Re: Weird failure with latches in curculio on v15
Previous Message Robert Haas 2023-02-01 17:08:24 Re: Weird failure with latches in curculio on v15