[neon/snap-packaging/kf6-core-sdk] /: Set BUILD_SHARED_LIBS=ON

Scarlett Moore null at kde.org
Wed Jun 5 12:51:38 BST 2024


Git commit 5adacd1210385482c94c7b2c3052006b97353c1e by Scarlett Moore.
Committed on 05/06/2024 at 11:51.
Pushed by scarlettmoore into branch 'master'.

Set BUILD_SHARED_LIBS=ON

M  +1    -2    snapcraft.yaml

https://invent.kde.org/neon/snap-packaging/kf6-core-sdk/-/commit/5adacd1210385482c94c7b2c3052006b97353c1e

diff --git a/snapcraft.yaml b/snapcraft.yaml
index f376aac..ceed809 100644
--- a/snapcraft.yaml
+++ b/snapcraft.yaml
@@ -97,6 +97,7 @@ parts:
         - -DCMAKE_INSTALL_RUNSTATEDIR=/run
         - -DCMAKE_SKIP_INSTALL_ALL_DEPENDENCY=ON
         - -DCMAKE_VERBOSE_MAKEFILE=ON
+        - -DBUILD_SHARED_LIBS=ON
         - -DCMAKE_INSTALL_LIBDIR=lib/$CRAFT_ARCH_TRIPLET_BUILD_FOR
         - -DENABLE_DOCS=OFF
         - --log-level=STATUS
@@ -431,12 +432,10 @@ parts:
         - doxygen
         - graphviz
         - liblzma-dev
-        - zlib1g-dev
         - libbz2-dev
         stage-packages:
         - libbz2-1.0
         - liblzma5
-        - zlib1g
         build-snaps:
         - kde-qt6-core22-sdk
         plugin: cmake


More information about the Neon-commits mailing list