[ros-diffs] [royce] 13038: use ntoskrnl's def file when running dlltool, otherwise not all of ntoskrnl's exports make it into final executable.

royce at svn.reactos.com royce at svn.reactos.com
Fri Jan 14 07:51:39 CET 2005


use ntoskrnl's def file when running dlltool, otherwise not all of
ntoskrnl's exports make it into final executable.
Modified:
branches/xmlbuildsystem/reactos/tools/rbuild/backend/mingw/modulehandler
.cpp
  _____  

Modified:
branches/xmlbuildsystem/reactos/tools/rbuild/backend/mingw/modulehandler
.cpp
---
branches/xmlbuildsystem/reactos/tools/rbuild/backend/mingw/modulehandler
.cpp	2005-01-14 03:29:47 UTC (rev 13037)
+++
branches/xmlbuildsystem/reactos/tools/rbuild/backend/mingw/modulehandler
.cpp	2005-01-14 06:51:37 UTC (rev 13038)
@@ -795,10 +795,11 @@

 	          "\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 () );
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.reactos.org/pipermail/ros-diffs/attachments/20050114/6483df5e/attachment.html


More information about the Ros-diffs mailing list