From 72daef2ceba1e6e319149344407e30bd3073bcc9 Mon Sep 17 00:00:00 2001 From: Eike Rathke Date: Wed, 20 Sep 2023 17:10:38 +0200 Subject: [PATCH] Tell where to find libclang, detection fails --- thunderbird.spec | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/thunderbird.spec b/thunderbird.spec index eb74fdf..4e1ce49 100644 --- a/thunderbird.spec +++ b/thunderbird.spec @@ -379,6 +379,10 @@ echo "ac_add_options --enable-crashreporter" >> .mozconfig echo "ac_add_options --disable-crashreporter" >> .mozconfig %endif +# Same as https://bugzilla.redhat.com/show_bug.cgi?id=2239046 for Firefox: +# Clang 17 upstream's detection fails, tell it where to look. +echo "ac_add_options --with-libclang-path=%{_libdir}" >> .mozconfig + echo 'export NODEJS="%{_buildrootdir}/bin/node-stdout-nonblocking-wrapper"' >> .mozconfig # Remove executable bit to make brp-mangle-shebangs happy.