use ntoskrnl's def file when running dlltool, otherwise not all of ntoskrnl's exports make it into final executable.

svn path=/branches/xmlbuildsystem/; revision=13038
This commit is contained in:
Royce Mitchell III 2005-01-14 06:51:37 +00:00
parent 46db98e48d
commit dbc5b96c09

View file

@ -795,10 +795,11 @@ MingwKernelModuleHandler::GenerateKernelModuleTarget ( const Module& module )
"\t${rm} %s\n",
junk_tmp.c_str () );
fprintf ( fMakefile,
"\t${dlltool} --dllname %s --base-file %s --output-exp %s --kill-at\n",
"\t${dlltool} --dllname %s --base-file %s --def ntoskrnl/ntoskrnl.def --output-exp %s --kill-at\n",
target.c_str (),
base_tmp.c_str (),
temp_exp.c_str ());
//FixupTargetFilename ( module.GetBasePath () + SSEP + module.importLibrary->definition ).c_str (),
temp_exp.c_str () );
fprintf ( fMakefile,
"\t${rm} %s\n",
base_tmp.c_str () );