GET_RUNTIME_DEPENDENCIES: Allow more whitespace before objdump's "DLL Name:"

LLVM's `llvm-objdump` has spaces before "DLL Name:" instead of tabs.
This commit is contained in:
Adrian Pop
2024-03-10 01:34:20 +01:00
committed by Brad King
parent 5c3512333c
commit c51f84b96a
2 changed files with 2 additions and 2 deletions

View File

@@ -748,7 +748,7 @@ function(get_prerequisites target prerequisites_var exclude_system recurse exepa
set(gp_regex_cmp_count 1)
elseif(gp_tool MATCHES "objdump(\\.exe)?$")
set(gp_cmd_args "-p")
set(gp_regex "^\t*DLL Name: (.*\\.[Dd][Ll][Ll])${eol_char}$")
set(gp_regex "^[\t ]*DLL Name: (.*\\.[Dd][Ll][Ll])${eol_char}$")
set(gp_regex_error "")
set(gp_regex_fallback "")
set(gp_regex_cmp_count 1)