diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2023-09-07 12:17:54 +0200 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2023-09-07 12:17:54 +0200 |
commit | 07c4523c6c5049ebd952fc7b176f26f028d4851a (patch) | |
tree | b3843f74adea79176a2ad7b0cc96fc848713bc96 /contrib | |
parent | bb5c77c4f8a5ea9cb3f6bcf5ca33bab4d85d1d92 (diff) |
contrib/plugins: remove -soname argument
-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>
Diffstat (limited to 'contrib')
-rw-r--r-- | contrib/plugins/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/plugins/Makefile b/contrib/plugins/Makefile index b2b9db9f51..db1bd04dfa 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 |