From: Mikko Rasa Date: Wed, 7 Feb 2024 19:50:01 +0000 (+0200) Subject: Reinstate the use of sonames for shared libraries X-Git-Url: https://git.tdb.fi/?a=commitdiff_plain;h=d32b43386d0c0bf8790b7f91b6d26727302c1925;p=builder.git Reinstate the use of sonames for shared libraries The field was accidentally left empty in 1600cda. Having an soname is actually important on Linux and possibly other *nix systems. --- diff --git a/source/lib/sharedlibrary.cpp b/source/lib/sharedlibrary.cpp index 7be3a89..1488e69 100644 --- a/source/lib/sharedlibrary.cpp +++ b/source/lib/sharedlibrary.cpp @@ -34,6 +34,8 @@ SharedLibrary::SharedLibrary(Builder &b, const Component &c, const vector(*component); if(bcomp.get_type()==BinaryComponent::MODULE) install_location /= package->get_name(); + else + soname = FS::basename(path); for(ObjectFile *o: objects) o->set_used_in_shared_library(true);