chromium/chromium-132.0.6834.83-fix_lib64_in_rust_bindgen.patch

41 lines
1.4 KiB
Diff

--- chromium-130.0.6723.92/build/rust/rust_bindgen.gni.orig 2024-11-04 13:36:04.846905817 +0100
+++ chromium-130.0.6723.92/build/rust/rust_bindgen.gni 2024-11-04 13:44:25.882207141 +0100
@@ -22,7 +22,7 @@
if (host_os == "win") {
_libclang_path += "/bin"
} else {
- _libclang_path += "/lib"
+ _libclang_path += "/lib64"
}
# Template to build Rust/C bindings with bindgen.
--- chromium-132.0.6834.83/build/rust/rust_bindgen_generator.gni.orig 2025-01-16 23:23:02.744914633 +0100
+++ chromium-132.0.6834.83/build/rust/rust_bindgen_generator.gni 2025-01-16 23:23:35.608028299 +0100
@@ -22,7 +22,7 @@
if (host_os == "win") {
_libclang_path += "/bin"
} else {
- _libclang_path += "/lib"
+ _libclang_path += "/lib64"
}
# Template to build Rust/C bindings with bindgen.
@@ -172,7 +172,7 @@
# point to.
args += [
"--ld-library-path",
- rebase_path(clang_base_path + "/lib", root_build_dir),
+ rebase_path(clang_base_path + "/lib64", root_build_dir),
]
}
@@ -216,7 +216,7 @@
# make it behave consistently with our other command line flags and allows
# system headers to be found.
clang_resource_dir =
- rebase_path(clang_base_path + "/lib/clang/" + clang_version,
+ rebase_path(clang_base_path + "/lib64/clang/" + clang_version,
root_build_dir)
args += [
"-resource-dir",