Re: Fix pkg-config file for static linking - Mailing list pgsql-hackers

From Filip Gospodinov
Subject Re: Fix pkg-config file for static linking
Date
Msg-id 4f2ef7df-a74a-d481-05ea-128c6099bc33@gospodinov.ch
Whole thread Raw
In response to Re: Fix pkg-config file for static linking  (Peter Eisentraut <peter.eisentraut@enterprisedb.com>)
List 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.



pgsql-hackers by date:

Previous
From: Thomas Munro
Date:
Subject: Re: stat() vs ERROR_DELETE_PENDING, round N + 1
Next
From: Dipesh Pandit
Date:
Subject: Re: .ready and .done files considered harmful