From: Mikko Rasa Date: Sun, 21 Feb 2010 13:10:56 +0000 (+0000) Subject: Install shared libs correctly even if they have no soname X-Git-Url: http://git.tdb.fi/?a=commitdiff_plain;h=af2dac0d09df4782060dd131f2a761e8a46a8d55;p=builder.git Install shared libs correctly even if they have no soname --- diff --git a/source/install.cpp b/source/install.cpp index 2b2a5c9..0578ba7 100644 --- a/source/install.cpp +++ b/source/install.cpp @@ -73,7 +73,8 @@ FS::Path Install::generate_target_path(const FileTarget &tgt, const std::string if(comp.get_type()==Component::LIBRARY) { mid = "lib"; - tgtname = shlib->get_soname(); + if(!shlib->get_soname().empty()) + tgtname = shlib->get_soname(); } else if(comp.get_type()==Component::MODULE) mid = "lib/"+tgt.get_package()->get_name();