use ntoskrnl's def file when running dlltool, otherwise not all of ntoskrnl's exports...
authorRoyce Mitchell III <royce3@ev1.net>
Fri, 14 Jan 2005 06:51:37 +0000 (06:51 +0000)
committerRoyce Mitchell III <royce3@ev1.net>
Fri, 14 Jan 2005 06:51:37 +0000 (06:51 +0000)
svn path=/branches/xmlbuildsystem/; revision=13038

reactos/tools/rbuild/backend/mingw/modulehandler.cpp

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