Re: [PATCH v1] [meson] add a default option prefix=/usr/local/pgsql - Mailing list pgsql-hackers

From Tom Lane
Subject Re: [PATCH v1] [meson] add a default option prefix=/usr/local/pgsql
Date
Msg-id 647870.1664552735@sss.pgh.pa.us
Whole thread Raw
In response to Re: [PATCH v1] [meson] add a default option prefix=/usr/local/pgsql  (Andres Freund <andres@anarazel.de>)
Responses Re: [PATCH v1] [meson] add a default option prefix=/usr/local/pgsql
List pgsql-hackers
Andres Freund <andres@anarazel.de> writes:
> On 2022-09-30 23:21:22 +0800, Junwang Zhao wrote:
>> autoconf set PREFIX to /usr/local/pgsql, so I think we should
>> do the same in meson build.

> That makes sense.

+1

> One concern with that is that default would also apply to windows - autoconf
> didn't have to care about that. I just tried it, and it "just" ends up
> installing it into c:/usr/local/pgsql (assuming the build dir is in
> c:/<something>).  I think that's something we could live with, but it's worth
> thinking about.

Can we have a platform-dependent default?  What was the default
behavior with the MSVC scripts?

            regards, tom lane



pgsql-hackers by date:

Previous
From: Andres Freund
Date:
Subject: Re: [PATCH v1] [meson] add a default option prefix=/usr/local/pgsql
Next
From: Masahiko Sawada
Date:
Subject: Re: [PoC] Improve dead tuple storage for lazy vacuum