]> git.tdb.fi Git - builder.git/blobdiff - source/sharedlibrary.cpp
Install shared libraries on windows to bin, not lib
[builder.git] / source / sharedlibrary.cpp
index 06a99442b2fb47377044546d1646d7d599da5dcb..e94ffeb6d46867813b4c18a23e7fbb74bb00e3c3 100644 (file)
@@ -22,7 +22,10 @@ SharedLibrary::SharedLibrary(Builder &b, const Component &c, const list<ObjectFi
        libname(c.get_name()),
        import_lib(0)
 {
-       install_location = "lib";
+       if(builder.get_current_arch().get_system()=="windows")
+               install_location = "bin";
+       else
+               install_location = "lib";
        if(component->get_type()==Component::MODULE)
                install_location /= package->get_name();