Re: Strip -mmacosx-version-min options from plperl build

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Andres Freund <andres(at)anarazel(dot)de>
Cc: Peter Eisentraut <peter(dot)eisentraut(at)enterprisedb(dot)com>, pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Strip -mmacosx-version-min options from plperl build
Date: 2022-08-20 20:53:31
Message-ID: 3820211.1661028811@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Andres Freund <andres(at)anarazel(dot)de> writes:
> 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.

I'm certain that there are/were platforms that insist on those libraries
being mentioned anyway. Maybe they are all obsolete now?

regards, tom lane

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Andres Freund 2022-08-20 21:44:47 Re: Strip -mmacosx-version-min options from plperl build
Previous Message Andres Freund 2022-08-20 20:44:01 Re: Strip -mmacosx-version-min options from plperl build