Skip to content

Commit 1360943

Browse files
committed
meson: Add prefix=/usr/local/pgsql to default_options
autoconf set PREFIX to /usr/local/pgsql, so using the same default for meson makes sense. The effect on windows is that installation defaults to installing to C:/usr/local/pgsql rather than meson's default of C:/, which doesn't seem perfect, but OK enough. Signed-off-by: Junwang Zhao <zhjwpku@gmail.com> Author: Junwang Zhao <zhjwpku@gmail.com> Discussion: https://postgr.es/CAEG8a3LGWE-gG6vuddmH91RORhi8gWs0mMB-hcTmP3_NVgM7dg@mail.gmail.com
1 parent d0366bf commit 1360943

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

meson.build

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,10 @@ project('postgresql',
1616
default_options: [
1717
'warning_level=1', #-Wall equivalent
1818
'buildtype=release',
19+
# For compatibility with the autoconf build, set a default prefix. This
20+
# works even on windows, where it's a drive-relative path (i.e. when on
21+
# d:/sompath it'll install to d:/usr/local/pgsql)
22+
'prefix=/usr/local/pgsql',
1923
]
2024
)
2125

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy