Commit bf86869
committed
fix(installer): scan ldd output via REGEX MATCHALL instead of line split
string(REPLACE "\n" ";" ...) treats backslash-n as two literal
characters in CMake's quoted argument syntax, so the per-line splitter
never produced lines and the inner regex never matched. Result: the
transitive-dep walker processed each ldd output as a single 'line' and
copied nothing.
Switch to REGEX MATCHALL across the entire ldd blob, capturing every
'=> /path' pair regardless of line boundaries. Verified locally: the
bundled lib/ now contains libb2/libpcre2/libzstd/libbrotli/libgssapi/
libkrb5 and ldd reports zero unresolved deps.1 parent 7c6e8f1 commit bf86869
1 file changed
Lines changed: 8 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
174 | 174 | | |
175 | 175 | | |
176 | 176 | | |
177 | | - | |
178 | | - | |
179 | | - | |
180 | | - | |
181 | | - | |
182 | | - | |
183 | | - | |
184 | | - | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
185 | 185 | | |
186 | 186 | | |
187 | 187 | | |
| |||
0 commit comments