Re: Issues cross-compiling libpq 14.x to MacOS armv8

Поиск
Список
Период
Сортировка
От Daniel Gustafsson
Тема Re: Issues cross-compiling libpq 14.x to MacOS armv8
Дата
Msg-id 6E5207E3-F529-4F6A-B380-724F24D1D40C@yesql.se
обсуждение исходный текст
Ответ на Re: Issues cross-compiling libpq 14.x to MacOS armv8  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: Issues cross-compiling libpq 14.x to MacOS armv8  (Tom Lane <tgl@sss.pgh.pa.us>)
Список 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 по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Issues cross-compiling libpq 14.x to MacOS armv8
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Issues cross-compiling libpq 14.x to MacOS armv8