Re: Issues cross-compiling libpq 14.x to MacOS armv8 - Mailing list pgsql-general

From Daniel Gustafsson
Subject Re: Issues cross-compiling libpq 14.x to MacOS armv8
Date
Msg-id 6E5207E3-F529-4F6A-B380-724F24D1D40C@yesql.se
Whole thread Raw
In response to Re: Issues cross-compiling libpq 14.x to MacOS armv8  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: Issues cross-compiling libpq 14.x to MacOS armv8  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-general
> On 30 Nov 2021, at 22:33, Tom Lane <tgl@sss.pgh.pa.us> wrote:
> 
> I wrote:
>> It seems like a useful test when *not* cross compiling, which is most
>> of the time.  I'd just wrap that bit in
>>    if test "$cross_compiling" = no; then
> 
> Or actually, since we should print something, it looks like this will do:

+1, looks reasonable.

> +elif test x"$cross_compiling" = x"yes"; then

I noticed that we test without the x"foo" = x"yes" construction for zic (line
1135), should we change that while at it and be consistent for all
$cross_compiling uses?

--
Daniel Gustafsson        https://vmware.com/




pgsql-general by date:

Previous
From: Tom Lane
Date:
Subject: Re: Issues cross-compiling libpq 14.x to MacOS armv8
Next
From: Tom Lane
Date:
Subject: Re: Issues cross-compiling libpq 14.x to MacOS armv8