projects
/
reactos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
sync with trunk head (34904)
[reactos.git]
/
reactos
/
tools
/
rbuild
/
module.cpp
diff --git
a/reactos/tools/rbuild/module.cpp
b/reactos/tools/rbuild/module.cpp
index
bac1feb
..
688a934
100644
(file)
--- a/
reactos/tools/rbuild/module.cpp
+++ b/
reactos/tools/rbuild/module.cpp
@@
-1262,6
+1262,14
@@
Module::GetEntryPoint(bool leadingUnderscore) const
result = "_";
result += entrypoint;
+
+ if (Environment::GetArch() == "amd64")
+ {
+ size_t at_index = result.find_last_of( '@' );
+ if ( at_index != result.npos )
+ return result.substr (0, at_index );
+ }
+
return result;
}