mirror of
https://github.com/postgres/postgres.git
synced 2025-07-28 23:42:10 +03:00
meson: Add equivalent of configure --disable-rpath option
Discussion: https://www.postgresql.org/message-id/flat/33e957e6-4b4e-b0ed-1cc1-6335a24543ff%40enterprisedb.com
This commit is contained in:
16
meson.build
16
meson.build
@ -2572,7 +2572,6 @@ default_target_args = {
|
||||
|
||||
default_lib_args = default_target_args + {
|
||||
'name_prefix': '',
|
||||
'install_rpath': ':'.join(lib_install_rpaths),
|
||||
}
|
||||
|
||||
internal_lib_args = default_lib_args + {
|
||||
@ -2583,14 +2582,25 @@ internal_lib_args = default_lib_args + {
|
||||
default_mod_args = default_lib_args + {
|
||||
'name_prefix': '',
|
||||
'install_dir': dir_lib_pkg,
|
||||
'install_rpath': ':'.join(mod_install_rpaths),
|
||||
}
|
||||
|
||||
default_bin_args = default_target_args + {
|
||||
'install_dir': dir_bin,
|
||||
'install_rpath': ':'.join(bin_install_rpaths),
|
||||
}
|
||||
|
||||
if get_option('rpath')
|
||||
default_lib_args += {
|
||||
'install_rpath': ':'.join(lib_install_rpaths),
|
||||
}
|
||||
|
||||
default_mod_args += {
|
||||
'install_rpath': ':'.join(mod_install_rpaths),
|
||||
}
|
||||
|
||||
default_bin_args += {
|
||||
'install_rpath': ':'.join(bin_install_rpaths),
|
||||
}
|
||||
endif
|
||||
|
||||
|
||||
# Helper for exporting a limited number of symbols
|
||||
|
Reference in New Issue
Block a user