X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;ds=sidebyside;f=source%2Fvirtualfilesystem.cpp;h=fe0159e857d61892ee7cc055bacedcc40d00b303;hb=dc4b917034c9d3718f07139e2f0f3631a080c6f3;hp=7febdb62b78c58d3e3ca0813ea526d12284e6798;hpb=be6c1ae1dcc97cb3e3019c0384f1bc933fcd321c;p=builder.git diff --git a/source/virtualfilesystem.cpp b/source/virtualfilesystem.cpp index 7febdb6..fe0159e 100644 --- a/source/virtualfilesystem.cpp +++ b/source/virtualfilesystem.cpp @@ -5,7 +5,7 @@ #include "csourcefile.h" #include "misc.h" #include "sharedlibrary.h" -#include "systemlibrary.h" +#include "staticlibrary.h" #include "virtualfilesystem.h" using namespace std; @@ -168,7 +168,7 @@ FileTarget *VirtualFileSystem::get_library(const string &lib, const FS::Path &pa { FileTarget *tgt = get_target(fn); if(!tgt) - return new SystemLibrary(builder, fn.str()); + return new SharedLibrary(builder, fn); else if(mode==DYNAMIC || !tgt->get_package()) return tgt; } @@ -182,7 +182,7 @@ FileTarget *VirtualFileSystem::get_library(const string &lib, const FS::Path &pa if(FileTarget *tgt = get_target(fn)) return tgt; else - return new SystemLibrary(builder, fn.str()); + return new StaticLibrary(builder, fn); } return 0;