MSVC can't do this, so I'm finally going to add the necessary decorations
to my libraries.
if(i!=binfo.libmodes.end() && i->second<=BuildInfo::STATIC)
argv.push_back("-static-libstdc++");
}
-
- if(arch.get_system()=="windows")
- argv.push_back("-Wl,--enable-auto-import");
}
return argv;
if(ObjectFile *obj = dynamic_cast<ObjectFile *>(d))
argv.push_back(relative(obj->get_path(), work_dir).str());
- // XXX Should use dllexport, but that has some other problems to solve
- argv.push_back("--export-all-symbols");
-
argv.push_back("-z");
argv.push_back(relative(exp->get_path(), work_dir).str());
}