]> git.tdb.fi Git - builder.git/blobdiff - source/sharedlibrary.cpp
Make install_location a path
[builder.git] / source / sharedlibrary.cpp
index 24e0e205682acec12951035b32d84bc26a9a0ece..9b2fdbb1bd99b02bc3a99f877ec67779b4790c31 100644 (file)
@@ -22,10 +22,7 @@ SharedLibrary::SharedLibrary(Builder &b, const Component &c, const list<ObjectFi
 {
        install_location = "lib";
        if(component->get_type()==Component::MODULE)
-       {
-               install_location += '/';
-               install_location += package->get_name();
-       }
+               install_location /= package->get_name();
 
        const string &version = component->get_package().get_version();
        if(!version.empty())