Skip to content

Commit e892cd6

Browse files
authored
chromium: fix do_copy_clang_library failed for multilib (#830)
Due to commit [clang: use nonarch_libdir/clang for all runtime files][1] applied, the clang runtime libraries was installed to ${nonarch_libdir}, no matter the value of libdir Tweak it for do_copy_clang_library, use ${nonarch_libdir} to instead [1] kraj/meta-clang@cda1376 Signed-off-by: Hongxu Jia <[email protected]>
1 parent fd347dc commit e892cd6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

meta-chromium/recipes-browser/chromium/chromium-gn.inc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -457,7 +457,7 @@ do_copy_clang_library () {
457457
# Chromium needs to link against libclang_rt.builtins.a for both host and
458458
# target code, and expects to find both libraries in the same directory
459459
# (thanks to 0008-Use-the-correct-path-to-libclang_rt.builtins.a.patch).
460-
cd "${STAGING_LIBDIR}/clang"
460+
cd "${STAGING_DIR_HOST}${nonarch_libdir}/clang"
461461
# lib_file = "./$CLANG_VERSION/lib/linux/libclang_rt.builtins-$ARCH.a"
462462
lib_file="$(find . -name 'libclang_rt.builtins*')"
463463
# stripped_lib_file = "lib/linux/libclang_rt.builtins-$ARCH.a"

0 commit comments

Comments
 (0)