mirror of
https://github.com/reactos/CMake.git
synced 2025-02-08 04:48:46 +00:00
BundleUtilities: Fix regex to extract dependents from ldd (#12034)
This regex works with spaces in the path.
This commit is contained in:
parent
7ac7b437b8
commit
b68d3dc1b5
@ -548,7 +548,7 @@ function(get_prerequisites target prerequisites_var exclude_system recurse exepa
|
||||
|
||||
if("${gp_tool}" STREQUAL "ldd")
|
||||
set(gp_cmd_args "")
|
||||
set(gp_regex "^[\t ]*[^\t ]+ => ([^\t ]+).*${eol_char}$")
|
||||
set(gp_regex "^[\t ]*[^\t ]+ => ([^\t\(]+) .*${eol_char}$")
|
||||
set(gp_regex_error "not found${eol_char}$")
|
||||
set(gp_regex_fallback "^[\t ]*([^\t ]+) => ([^\t ]+).*${eol_char}$")
|
||||
set(gp_regex_cmp_count 1)
|
||||
|
Loading…
x
Reference in New Issue
Block a user