Author: tkreuzer
Date: Fri Apr 9 16:40:47 2010
New Revision: 46791
URL:
http://svn.reactos.org/svn/reactos?rev=46791&view=rev
Log:
[RBUILD]
pass --no-leading-underscore to dlltool on amd64 builds
Modified:
branches/ros-amd64-bringup/reactos/tools/rbuild/backend/mingw/modulehandler.cpp
Modified: branches/ros-amd64-bringup/reactos/tools/rbuild/backend/mingw/modulehandler.cpp
URL:
http://svn.reactos.org/svn/reactos/branches/ros-amd64-bringup/reactos/tools…
==============================================================================
--- branches/ros-amd64-bringup/reactos/tools/rbuild/backend/mingw/modulehandler.cpp
[iso-8859-1] (original)
+++ branches/ros-amd64-bringup/reactos/tools/rbuild/backend/mingw/modulehandler.cpp
[iso-8859-1] Fri Apr 9 16:40:47 2010
@@ -1568,9 +1568,18 @@
clean_files,
backend->GetFullName ( *definitionFilename ).c_str () );
- fprintf ( fMakefile,
- "\t${dlltool} --def %s --kill-at --output-lib $@\n",
- backend->GetFullName ( *definitionFilename ).c_str () );
+ if (Environment::GetArch() == "amd64")
+ {
+ fprintf ( fMakefile,
+ "\t${dlltool} --def %s --no-leading-underscore --output-lib
$@\n",
+ backend->GetFullName ( *definitionFilename ).c_str () );
+ }
+ else
+ {
+ fprintf ( fMakefile,
+ "\t${dlltool} --def %s --kill-at --output-lib $@\n",
+ backend->GetFullName ( *definitionFilename ).c_str () );
+ }
}
else
arRule1.Execute ( fMakefile, backend, module, archiveFilename, clean_files );