From: Royce Mitchell III Date: Fri, 14 Jan 2005 06:51:37 +0000 (+0000) Subject: use ntoskrnl's def file when running dlltool, otherwise not all of ntoskrnl's exports... X-Git-Tag: backups/xmlbuildsystem@15601~303 X-Git-Url: https://git.reactos.org/?p=reactos.git;a=commitdiff_plain;h=dbc5b96c097cfdc171717cde510da1fe3f2fca25;hp=46db98e48de579d1f4b4e6b33ae0f578be84b144 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 --- diff --git a/reactos/tools/rbuild/backend/mingw/modulehandler.cpp b/reactos/tools/rbuild/backend/mingw/modulehandler.cpp index fad90bc92b1..dd1759256e3 100644 --- a/reactos/tools/rbuild/backend/mingw/modulehandler.cpp +++ b/reactos/tools/rbuild/backend/mingw/modulehandler.cpp @@ -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 () );