Re: Fix pkg-config file for static linking

From: Filip Gospodinov <f(at)gospodinov(dot)ch>
To: Peter Eisentraut <peter(dot)eisentraut(at)enterprisedb(dot)com>, pgsql-hackers(at)lists(dot)postgresql(dot)org
Subject: Re: Fix pkg-config file for static linking
Date: 2021-09-02 13:08:34
Message-ID: 4f2ef7df-a74a-d481-05ea-128c6099bc33@gospodinov.ch
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 02.09.21 13:07, Peter Eisentraut wrote:
> On 20.07.21 22:04, Filip Gospodinov wrote:
>> Anyway, this issue is orthogonal to my original patch. I'm proposing
>> to hardcode -lpgcommon and -lpgport in Libs.private instead. Patch is
>> attached.
>
> Makes sense.  I think we could do it without hardcoding those library
> names, as in the attached patch.  But it comes out to the same result
> AFAICT.

That is my impression too. Enumerating them in a variable would just
lead to an indirection. Please let me know if you'd still prefer a
solution without hardcoding.

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Dipesh Pandit 2021-09-02 13:20:48 Re: .ready and .done files considered harmful
Previous Message Thomas Munro 2021-09-02 13:01:43 Re: stat() vs ERROR_DELETE_PENDING, round N + 1