diff --git a/Changelog.txt b/Changelog.txt index 49f059be3..4f83fdf97 100644 --- a/Changelog.txt +++ b/Changelog.txt @@ -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: * diff --git a/f_check b/f_check index 26c57bcc9..45a946eb6 100644 --- a/f_check +++ b/f_check @@ -274,6 +274,7 @@ if ($link ne "") { && ($flags !~ /kernel32/) && ($flags !~ /advapi32/) && ($flags !~ /shell32/) + && ($flags !~ /^\-l$/) ) { $linker_l .= $flags . " "; }