diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2020-08-04 18:14:26 +0200 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2020-08-21 06:30:43 -0400 |
commit | 859aef026e51a4959d1ab535f0b7a00d63ed32ba (patch) | |
tree | a9536bef7890ad961b76072cd4a9d87bcd371775 /util | |
parent | 484e2cc730a86f7066b3e29c5bb8440747b61f01 (diff) | |
download | qemu-859aef026e51a4959d1ab535f0b7a00d63ed32ba.zip qemu-859aef026e51a4959d1ab535f0b7a00d63ed32ba.tar.gz qemu-859aef026e51a4959d1ab535f0b7a00d63ed32ba.tar.bz2 |
meson: replace create-config with meson configure_file
Move the create-config logic to meson.build; create a
configuration_data object and let meson handle the
quoting and output.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'util')
-rw-r--r-- | util/module.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/util/module.c b/util/module.c index c956ef0..6e63006 100644 --- a/util/module.c +++ b/util/module.c @@ -113,7 +113,7 @@ static int module_load_file(const char *fname) { GModule *g_module; void (*sym)(void); - const char *dsosuf = HOST_DSOSUF; + const char *dsosuf = CONFIG_HOST_DSOSUF; int len = strlen(fname); int suf_len = strlen(dsosuf); ModuleEntry *e, *next; @@ -221,7 +221,7 @@ bool module_load_one(const char *prefix, const char *lib_name) for (i = 0; i < n_dirs; i++) { fname = g_strdup_printf("%s/%s%s", - dirs[i], module_name, HOST_DSOSUF); + dirs[i], module_name, CONFIG_HOST_DSOSUF); ret = module_load_file(fname); g_free(fname); fname = NULL; |