aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPeter Eisentraut <peter@eisentraut.org>2023-03-01 07:41:02 +0100
committerPeter Eisentraut <peter@eisentraut.org>2023-03-01 08:05:42 +0100
commitd2f44cc36e60b5490e56fd2aa7d3381764a38d36 (patch)
treed23cd2a9e644cb70fa69c2428ce2ca5a2d50d796 /src
parent6da67a0c111a29e876b7172d081c7d152d23ea3d (diff)
downloadpostgresql-d2f44cc36e60b5490e56fd2aa7d3381764a38d36.tar.gz
postgresql-d2f44cc36e60b5490e56fd2aa7d3381764a38d36.zip
meson: Add equivalent of configure --disable-rpath option
Discussion: https://www.postgresql.org/message-id/flat/33e957e6-4b4e-b0ed-1cc1-6335a24543ff%40enterprisedb.com
Diffstat (limited to 'src')
-rw-r--r--src/makefiles/meson.build2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/makefiles/meson.build b/src/makefiles/meson.build
index bf7303dc997..5a0032ab0d2 100644
--- a/src/makefiles/meson.build
+++ b/src/makefiles/meson.build
@@ -53,7 +53,7 @@ pgxs_kv = {
'abs_top_srcdir': meson.source_root(),
'enable_thread_safety': 'yes',
- 'enable_rpath': 'yes',
+ 'enable_rpath': get_option('rpath') ? 'yes' : 'no',
'enable_nls': libintl.found() ? 'yes' : 'no',
'enable_tap_tests': tap_tests_enabled ? 'yes' : 'no',
'enable_debug': get_option('debug') ? 'yes' : 'no',