From 66c7f66080c27d5e5c7d1f5d4a1628fcbfabb686 Mon Sep 17 00:00:00 2001 From: Eike Rathke Date: Wed, 1 Nov 2023 15:05:19 +0100 Subject: [PATCH] Tell where to find libclang, detection fails Related: RHEL-16499 --- firefox.spec | 3 +++ 1 file changed, 3 insertions(+) diff --git a/firefox.spec b/firefox.spec index 6fd54ac..fdd294e 100644 --- a/firefox.spec +++ b/firefox.spec @@ -1116,6 +1116,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.