On 10/16/23 11:08, Manos Pitsidianakis wrote:
On Mon, 16 Oct 2023 09:31, Paolo Bonzini <pbonz...@redhat.com> wrote:
diff --git a/meson.build b/meson.build
index 010d2c649c2..251838f2609 100644
--- a/meson.build
+++ b/meson.build
@@ -2111,6 +2111,7 @@ config_host_data.set('CONFIG_OPENGL', opengl.found())
config_host_data.set('CONFIG_PLUGIN', get_option('plugins'))
config_host_data.set('CONFIG_RBD', rbd.found())
config_host_data.set('CONFIG_RDMA', rdma.found())
+config_host_data.set('CONFIG_RELOCATABLE', get_option('relocatable'))
config_host_data.set('CONFIG_SAFESTACK', get_option('safe_stack'))
config_host_data.set('CONFIG_SDL', sdl.found())
config_host_data.set('CONFIG_SDL_IMAGE', sdl_image.found())

Is relocatable a good choice here? The term is used in linking and might be confusing (when I read the subject that's what I thought it'd be about). How about 'movable`?

I think it's a relatively common usage. Google finds many uses for RPM but also in a lot of random forums (CMake, Julia, FreeBSD). See also https://nehckl0.medium.com/creating-relocatable-linux-executables-by-setting-rpath-with-origin-45de573a2e98 or https://www.gnu.org/software/gnulib/manual/html_node/Supporting-Relocation.html.

Paolo


Reply via email to