forked from pool/cmake
Dirk Mueller
a90db25848
- update to 3.26.2: * This version made no changes to documented features or interfaces. Some implementation updates were made to support ecosystem changes and/or fix regressions. OBS-URL: https://build.opensuse.org/request/show/1075569 OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/cmake?expand=0&rev=522
19 lines
859 B
Diff
19 lines
859 B
Diff
investigated under https://gitlab.kitware.com/cmake/cmake/-/issues/23881
|
|
|
|
Index: cmake-3.26.2/Modules/GetPrerequisites.cmake
|
|
===================================================================
|
|
--- cmake-3.26.2.orig/Modules/GetPrerequisites.cmake
|
|
+++ cmake-3.26.2/Modules/GetPrerequisites.cmake
|
|
@@ -730,9 +730,9 @@ function(get_prerequisites target prereq
|
|
|
|
if(gp_tool MATCHES "ldd$")
|
|
set(gp_cmd_args "")
|
|
- set(gp_regex "^[\t ]*[^\t ]+ =>[\t ]+([^\t\(]+)( \(.+\))?${eol_char}$")
|
|
+ set(gp_regex "^[\t ]*[^\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_fallback "^[\t ]*([^\t ]+) => (/[^\t ]+).*${eol_char}$")
|
|
set(gp_regex_cmp_count 1)
|
|
elseif(gp_tool MATCHES "otool$")
|
|
set(gp_cmd_args "-L")
|