[neon/qt/qtcreator/Neon/release] debian: link to shared clang libs

Pino Toscano null at kde.org
Thu May 5 12:51:58 BST 2022


Git commit 0f2c0fc02cd44ad876ae27577ff507ceb3ae551e by Pino Toscano.
Committed on 25/02/2022 at 20:48.
Pushed by jriddell into branch 'Neon/release'.

link to shared clang libs

M  +2    -0    debian/changelog
M  +1    -0    debian/rules

https://invent.kde.org/neon/qt/qtcreator/commit/0f2c0fc02cd44ad876ae27577ff507ceb3ae551e

diff --git a/debian/changelog b/debian/changelog
index b8cfd73..7d54d38 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -4,6 +4,8 @@ qtcreator (7.0.0~beta2-2) UNRELEASED; urgency=medium
   * Enable the ClangFormat plugin, as it should run fine without requiring to
     be built against a patched LLVM since 4.15.0:
     - stop exporting QTC_BUILD_PLUGIN_CLANGFORMAT=FALSE
+  * Pass -DCLANGTOOLING_LINK_CLANG_DYLIB=ON to cmake to link against the
+    available shared libraries of clang rather than the static LLVM ones.
 
  -- Debian Qt/KDE Maintainers <debian-qt-kde at lists.debian.org>  Fri, 25 Feb 2022 21:00:28 +0100
 
diff --git a/debian/rules b/debian/rules
index 324cbed..851bcc5 100755
--- a/debian/rules
+++ b/debian/rules
@@ -27,6 +27,7 @@ override_dh_auto_configure:
 		-DBUILD_QBS=OFF \
 		-DWITH_TESTS=OFF \
 		-DBUILD_TESTING=OFF \
+		-DCLANGTOOLING_LINK_CLANG_DYLIB=ON \
 		-DWITH_DOCS=$(if $(filter qtcreator-doc, $(shell dh_listpackages)),ON,OFF)
 
 execute_after_dh_auto_build-indep:



More information about the Neon-commits mailing list