#include "csourcefile.h"
#include "misc.h"
#include "sharedlibrary.h"
-#include "systemlibrary.h"
+#include "staticlibrary.h"
#include "virtualfilesystem.h"
using namespace std;
{
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;
}
if(FileTarget *tgt = get_target(fn))
return tgt;
else
- return new SystemLibrary(builder, fn.str());
+ return new StaticLibrary(builder, fn);
}
return 0;