Skip to content

Commit ed1fc24

Browse files
authored
Merge pull request #1577 from alblue/master
Fix cross-compile toolchain
2 parents 1c9d658 + d5bac9b commit ed1fc24

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Utilities/build_ubuntu_cross_compilation_toolchain

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ function fix_glibc_modulemap() {
6868
rm -rf "$inc_dir"
6969
mkdir "$inc_dir"
7070
cat "$tmp" | while IFS='' read line; do
71-
if [[ "$line" =~ ^(\ *header\ )\"\/\/\/usr\/include\/(x86_64-linux-gnu\/)?([^\"]+)\" ]]; then
71+
if [[ "$line" =~ ^(\ *header\ )\"\/+usr\/include\/(x86_64-linux-gnu\/)?([^\"]+)\" ]]; then
7272
local orig_inc
7373
local rel_repl_inc
7474
local repl_inc

0 commit comments

Comments
 (0)