From 993945fbe47950c400f1356294e53e2c6dacbbbc Mon Sep 17 00:00:00 2001 From: Eike Rathke Date: Wed, 1 Nov 2023 15:20:17 +0100 Subject: [PATCH] Tell where to find libclang, detection fails Related: RHEL-16522 --- thunderbird.spec | 3 +++ 1 file changed, 3 insertions(+) diff --git a/thunderbird.spec b/thunderbird.spec index 1d51290..7a1c4d8 100644 --- a/thunderbird.spec +++ b/thunderbird.spec @@ -1014,6 +1014,9 @@ echo "ac_add_options --with-mozilla-api-keyfile=`pwd`/mozilla-api-key" >> .mozco echo "ac_add_options --with-google-location-service-api-keyfile=`pwd`/google-loc-api-key" >> .mozconfig echo "ac_add_options --with-google-safebrowsing-api-keyfile=`pwd`/google-api-key" >> .mozconfig +# Clang 17 upstream's detection fails, tell it where to look. +echo "ac_add_options --with-libclang-path=`llvm-config --libdir`" >> .mozconfig + echo 'export NODEJS="%{_buildrootdir}/bin/node-stdout-nonblocking-wrapper"' >> .mozconfig # Remove executable bit to make brp-mangle-shebangs happy.