Re: Lower priority of the configure option --with-libraries causes wrong lib resolution

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Charles Samborski <demurgos(at)demurgos(dot)net>
Cc: pgsql-bugs(at)lists(dot)postgresql(dot)org
Subject: Re: Lower priority of the configure option --with-libraries causes wrong lib resolution
Date: 2025-06-15 21:41:37
Message-ID: 388000.1750023697@sss.pgh.pa.us
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

I wrote:
> I would pin the blame here. This code should not be messing with
> the global LDFLAGS.

Looking closer, we've made the same mistake elsewhere.
I think we need something like the attached to ensure
that -L switches coming from libraries' configure helpers
don't override user-specified directories.

regards, tom lane

Attachment Content-Type Size
v1-avoid-overriding-libdirs.patch text/x-diff 2.4 KB

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message vignesh C 2025-06-16 02:27:50 Re: Logical replication 'invalid memory alloc request size 1585837200' after upgrading to 17.5
Previous Message Tom Lane 2025-06-15 20:26:01 Re: Lower priority of the configure option --with-libraries causes wrong lib resolution