Re: Strip -mmacosx-version-min options from plperl build
Peter Eisentraut <peter.eisentraut@enterprisedb.com>
From: Peter Eisentraut <peter.eisentraut@enterprisedb.com>
To: Andres Freund <andres@anarazel.de>, Tom Lane <tgl@sss.pgh.pa.us>
Cc: pgsql-hackers <pgsql-hackers@postgresql.org>
Date: 2022-08-22T14:31:53Z
Lists: 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.
Commits
-
mingw: Define PGDLLEXPORT as __declspec (dllexport) as done for msvc
- 0e497eadb1f4 16.0 landed
-
Fix PL/Perl build on Cygwin
- 1c3aa54502dd 16.0 landed
-
Remove further unwanted linker flags from perl_embed_ldflags
- b4e936859dc4 16.0 landed