Tell where to find libclang, detection fails

This commit is contained in:
Eike Rathke 2023-09-20 17:10:38 +02:00
parent e39816aac6
commit 72daef2ceb

View File

@ -379,6 +379,10 @@ echo "ac_add_options --enable-crashreporter" >> .mozconfig
echo "ac_add_options --disable-crashreporter" >> .mozconfig echo "ac_add_options --disable-crashreporter" >> .mozconfig
%endif %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 echo 'export NODEJS="%{_buildrootdir}/bin/node-stdout-nonblocking-wrapper"' >> .mozconfig
# Remove executable bit to make brp-mangle-shebangs happy. # Remove executable bit to make brp-mangle-shebangs happy.