[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PULL 14/51] contrib/plugins: remove -soname argument
From: |
Paolo Bonzini |
Subject: |
[PULL 14/51] contrib/plugins: remove -soname argument |
Date: |
Thu, 7 Sep 2023 14:59:23 +0200 |
-soname is not needed for runtime-loaded modules. For example, Meson says:
if not isinstance(target, build.SharedModule) or
target.force_soname:
# Add -Wl,-soname arguments on Linux, -install_name on OS X
commands += linker.get_soname_args(
self.environment, target.prefix, target.name, target.suffix,
target.soversion, target.darwin_versions)
(force_soname is set is shared modules are linked into a build target, which is
not
the case here.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
---
contrib/plugins/Makefile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/contrib/plugins/Makefile b/contrib/plugins/Makefile
index b2b9db9f51a..db1bd04dfa6 100644
--- a/contrib/plugins/Makefile
+++ b/contrib/plugins/Makefile
@@ -37,7 +37,7 @@ all: $(SONAMES)
$(CC) $(CFLAGS) -c -o $@ $<
lib%.so: %.o
- $(CC) -shared -Wl,-soname,$@ -o $@ $^ $(LDLIBS)
+ $(CC) -shared -o $@ $^ $(LDLIBS)
clean:
rm -f *.o *.so *.d
--
2.41.0
- [PULL 00/51] Build system, i386 changes for 2023-09-07, Paolo Bonzini, 2023/09/07
- [PULL 01/51] linux-user, bsd-user: disable on unsupported host architectures, Paolo Bonzini, 2023/09/07
- [PULL 03/51] target/i386: generalize operand size "ph" for use in CVTPS2PD, Paolo Bonzini, 2023/09/07
- [PULL 02/51] target/i386: raise FERR interrupt with iothread locked, Paolo Bonzini, 2023/09/07
- [PULL 05/51] target/i386: Add support for AMX-COMPLEX in CPUID enumeration, Paolo Bonzini, 2023/09/07
- [PULL 04/51] target/i386: fix memory operand size for CVTPS2PD, Paolo Bonzini, 2023/09/07
- [PULL 06/51] include/sysemu/os-posix.h: move *daemonize* declarations together, Paolo Bonzini, 2023/09/07
- [PULL 08/51] os-posix.c: create and export os_set_chroot(), Paolo Bonzini, 2023/09/07
- [PULL 10/51] os-posix.c: move code around, Paolo Bonzini, 2023/09/07
- [PULL 09/51] os-posix.c, softmmu/vl.c: move os_parse_cmd_args() into qemu_init(), Paolo Bonzini, 2023/09/07
- [PULL 14/51] contrib/plugins: remove -soname argument,
Paolo Bonzini <=
- [PULL 07/51] os-posix.c: create and export os_set_runas(), Paolo Bonzini, 2023/09/07
- [PULL 12/51] softmmu/vl.c: inline include/qemu/qemu-options.h into vl.c, Paolo Bonzini, 2023/09/07
- [PULL 15/51] contrib/plugins/cache: Fix string format, Paolo Bonzini, 2023/09/07
- [PULL 17/51] contrib/plugins/howvec: Fix string format, Paolo Bonzini, 2023/09/07
- [PULL 16/51] contrib/plugins/drcov: Fix string format, Paolo Bonzini, 2023/09/07
- [PULL 21/51] meson: update unsupported host/CPU messages, Paolo Bonzini, 2023/09/07
- [PULL 25/51] configure: remove boolean variables for targets, Paolo Bonzini, 2023/09/07
- [PULL 11/51] os-posix.c: remove unneeded #includes, Paolo Bonzini, 2023/09/07
- [PULL 20/51] meson: do not unnecessarily use cmake for dependencies, Paolo Bonzini, 2023/09/07
- [PULL 24/51] meson: compile bundled device trees, Paolo Bonzini, 2023/09/07