chromium/chromium-130.0.6723.92-fix_lib64_in_rust_bindgen.patch

32 lines
1.2 KiB
Diff
Raw Normal View History

--- 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.
@@ -122,7 +122,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),
]
}
--- chromium-130.0.6723.92/build/rust/rust_bindgen.gni.orig 2024-11-05 09:00:20.400539921 +0100
+++ chromium-130.0.6723.92/build/rust/rust_bindgen.gni 2024-11-05 09:00:40.482583864 +0100
@@ -150,7 +150,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",