From d2f44cc36e60b5490e56fd2aa7d3381764a38d36 Mon Sep 17 00:00:00 2001 From: Peter Eisentraut Date: Wed, 1 Mar 2023 07:41:02 +0100 Subject: meson: Add equivalent of configure --disable-rpath option Discussion: https://www.postgresql.org/message-id/flat/33e957e6-4b4e-b0ed-1cc1-6335a24543ff%40enterprisedb.com --- src/makefiles/meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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', -- cgit v1.2.3