Re: meson vs windows perl - Mailing list pgsql-hackers

From Andrew Dunstan
Subject Re: meson vs windows perl
Date
Msg-id 338efa76-9f6e-4e1a-a491-05825b4fd88c@dunslane.net
Whole thread Raw
In response to Re: meson vs windows perl  (Andrew Dunstan <andrew@dunslane.net>)
Responses Re: meson vs windows perl
List pgsql-hackers
On 2024-04-05 Fr 08:25, Andrew Dunstan wrote:
>
>
>
> Here is an attempt to fix all that. It's ugly, but I think it's more 
> principled.
>
> First, instead of getting the ldopts and then trying to filter out the 
> ldflags and ccdlflags, it tells perl not to include those in the first 
> place, by overriding a couple of routines in ExtUtils::Embed. And 
> second, it's smarter about splitting what's left, so that it doesn't 
> split on a space that's in a quoted item. The perl that's used to do 
> that second bit is not pretty, but it has been tested on the system 
> where the problem arose and apparently cures the problem. (No doubt 
> some perl guru could improve it.) It also works on my Ubuntu system, 
> so I don't think we'll be breaking anything (famous last words).
>
>

Apparently I spoke too soon. Please ignore the above for now.


cheers


andrew

--
Andrew Dunstan
EDB: https://www.enterprisedb.com




pgsql-hackers by date:

Previous
From: Robert Haas
Date:
Subject: Re: Add new protocol message to change GUCs for usage with future protocol-only GUCs
Next
From: Andrew Dunstan
Date:
Subject: Re: IPC::Run::time[r|out] vs our TAP tests