Re: Strip -mmacosx-version-min options from plperl build - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Re: Strip -mmacosx-version-min options from plperl build
Date
Msg-id d0ac4a3a-aaf8-009e-04ee-f6dc8cecc073@enterprisedb.com
Whole thread Raw
In response to Re: Strip -mmacosx-version-min options from plperl build  (Andres Freund <andres@anarazel.de>)
Responses Re: Strip -mmacosx-version-min options from plperl build
List pgsql-hackers
On 20.08.22 22:44, Andres Freund wrote:
> Maybe a daft question: Why do want any of the -l flags other than -lperl? With
> the patch configure spits out the following on my debian system:
> 
> checking for CFLAGS to compile embedded Perl... -DDEBIAN
> checking for flags to link embedded Perl...   -L/usr/lib/x86_64-linux-gnu/perl/5.34/CORE -lperl -ldl -lm -lpthread
-lc-lcrypt
 
> 
> those libraries were likely relevant to build libperl, but don't look relevant
> for linking to it dynamically. Statically would be a different story, but we
> already insist on a shared build.

Looking inside the ExtUtils::Embed source code, I wonder if there are 
some installations that have things like -lperl538 or something like 
that that it wants to deal with.



pgsql-hackers by date:

Previous
From: Peter Eisentraut
Date:
Subject: Remove offsetof definition
Next
From: Peter Eisentraut
Date:
Subject: Re: Strip -mmacosx-version-min options from plperl build