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

From: Andres Freund <andres(at)anarazel(dot)de>
To: Junwang Zhao <zhjwpku(at)gmail(dot)com>, Peter Eisentraut <peter(dot)eisentraut(at)enterprisedb(dot)com>
Cc: PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Re: [PATCH v1] [meson] add a default option prefix=/usr/local/pgsql
Date: 2022-09-30 15:43:18
Message-ID: 20220930154318.dsdqhnzhyaum6w3i@awork3.anarazel.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi,

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.

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.

Greetings,

Andres Freund

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2022-09-30 15:45:35 Re: [PATCH v1] [meson] add a default option prefix=/usr/local/pgsql
Previous Message Xing Guo 2022-09-30 15:32:10 Re: [PATCH] Simple code cleanup in tuplesort.c.