Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oPVTU-0000to-Jz for pgsql-hackers@arkaria.postgresql.org; Sat, 20 Aug 2022 20:53:44 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1oPVTT-000682-F1 for pgsql-hackers@arkaria.postgresql.org; Sat, 20 Aug 2022 20:53:43 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oPVTT-00067t-5k for pgsql-hackers@lists.postgresql.org; Sat, 20 Aug 2022 20:53:43 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oPVTM-0000mT-EM for pgsql-hackers@postgresql.org; Sat, 20 Aug 2022 20:53:41 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.15.2/8.15.2) with ESMTP id 27KKrVUi3820212; Sat, 20 Aug 2022 16:53:31 -0400 From: Tom Lane To: Andres Freund cc: Peter Eisentraut , pgsql-hackers Subject: Re: Strip -mmacosx-version-min options from plperl build In-reply-to: <20220820204401.vrf5kejih6jofvqb@awork3.anarazel.de> References: <8c4fcb72-2574-ff7c-4c25-1f032d4a2a57@enterprisedb.com> <2369869.1660830828@sss.pgh.pa.us> <9518842c-6844-0c99-85ec-ec43fba3115f@enterprisedb.com> <3050653.1660917635@sss.pgh.pa.us> <20220820204401.vrf5kejih6jofvqb@awork3.anarazel.de> Comments: In-reply-to Andres Freund message dated "Sat, 20 Aug 2022 13:44:01 -0700" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <3820210.1661028811.1@sss.pgh.pa.us> Content-Transfer-Encoding: quoted-printable Date: Sat, 20 Aug 2022 16:53:31 -0400 Message-ID: <3820211.1661028811@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Andres Freund 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-gn= u/perl/5.34/CORE -lperl -ldl -lm -lpthread -lc -lcrypt > those libraries were likely relevant to build libperl, but don't look re= levant > 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