X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Finstall.cpp;h=0578ba7173db105f0e983ceed43d8d4a185a5fa0;hb=4e6fd9a7436d61af311ab83b5ec264b37078fe76;hp=2b2a5c94f0bae872039104bbfb638cfa4de2b6f2;hpb=05a2b9dabd01414e9e9a91f9d69babaca4ccb32d;p=builder.git 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();