Skip to content
Snippets Groups Projects
Commit 07c4523c authored by Paolo Bonzini's avatar Paolo Bonzini
Browse files

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: default avatarPaolo Bonzini <pbonzini@redhat.com>
parent bb5c77c4
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment