From af2dac0d09df4782060dd131f2a761e8a46a8d55 Mon Sep 17 00:00:00 2001 From: Mikko Rasa Date: Sun, 21 Feb 2010 13:10:56 +0000 Subject: [PATCH] Install shared libs correctly even if they have no soname --- source/install.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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(); -- 2.45.2