From b0228b51ed5233bb621791c73d46ffdf4b1ba755 Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Mon, 4 Dec 2023 04:25:16 -0800 Subject: [PATCH] launchpad build: link against dynamic libgit2 system library Signed-off-by: Dirk Hohndel --- packaging/ubuntu/debian/rules | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packaging/ubuntu/debian/rules b/packaging/ubuntu/debian/rules index d61d2e2b4..b8ea8346f 100755 --- a/packaging/ubuntu/debian/rules +++ b/packaging/ubuntu/debian/rules @@ -55,9 +55,9 @@ override_dh_auto_configure: (mkdir subsurface-build ; cd subsurface-build ; \ cmake -DCMAKE_BUILD_TYPE=Release \ -DCMAKE_INSTALL_PREFIX=/usr \ - -DLIBGIT2_INCLUDE_DIR=$(MY_INSTALL_ROOT)/include \ -DLIBDIVECOMPUTER_INCLUDE_DIR=$(MY_INSTALL_ROOT)/include \ -DLIBDIVECOMPUTER_LIBRARIES=$(MY_INSTALL_ROOT)/lib/libdivecomputer.a \ + -DLIBGIT2_DYNAMIC=ON -DLIBGIT2_FROM_PKGCONFIG=ON \ -DFORCE_LIBSSH=1 \ -DNO_PRINTING=OFF \ -DMAKE_TESTS=OFF \