From dbc5b96c097cfdc171717cde510da1fe3f2fca25 Mon Sep 17 00:00:00 2001 From: Royce Mitchell III Date: Fri, 14 Jan 2005 06:51:37 +0000 Subject: [PATCH] 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 --- reactos/tools/rbuild/backend/mingw/modulehandler.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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 () );