Fixed #23. Fixed a bug of f_check script about generating link flags.

This commit is contained in:
Xianyi Zhang 2011-05-04 13:03:10 +08:00
parent 1acf5ace29
commit 7dcf4eeee7
2 changed files with 2 additions and 0 deletions

View File

@ -14,6 +14,7 @@ common:
issue #21 on github)
* Provided an error message when the arch is not supported.(Refs
issue #19 on github)
* Fixed issue #23. Fixed a bug of f_check script about generating link flags.
x86/x86_64:
*

View File

@ -274,6 +274,7 @@ if ($link ne "") {
&& ($flags !~ /kernel32/)
&& ($flags !~ /advapi32/)
&& ($flags !~ /shell32/)
&& ($flags !~ /^\-l$/)
) {
$linker_l .= $flags . " ";
}