launchpad build: link against dynamic libgit2 system library

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Dirk Hohndel 2023-12-04 04:25:16 -08:00
parent b05d15933f
commit b0228b51ed

View file

@ -55,9 +55,9 @@ override_dh_auto_configure:
(mkdir subsurface-build ; cd subsurface-build ; \ (mkdir subsurface-build ; cd subsurface-build ; \
cmake -DCMAKE_BUILD_TYPE=Release \ cmake -DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_PREFIX=/usr \
-DLIBGIT2_INCLUDE_DIR=$(MY_INSTALL_ROOT)/include \
-DLIBDIVECOMPUTER_INCLUDE_DIR=$(MY_INSTALL_ROOT)/include \ -DLIBDIVECOMPUTER_INCLUDE_DIR=$(MY_INSTALL_ROOT)/include \
-DLIBDIVECOMPUTER_LIBRARIES=$(MY_INSTALL_ROOT)/lib/libdivecomputer.a \ -DLIBDIVECOMPUTER_LIBRARIES=$(MY_INSTALL_ROOT)/lib/libdivecomputer.a \
-DLIBGIT2_DYNAMIC=ON -DLIBGIT2_FROM_PKGCONFIG=ON \
-DFORCE_LIBSSH=1 \ -DFORCE_LIBSSH=1 \
-DNO_PRINTING=OFF \ -DNO_PRINTING=OFF \
-DMAKE_TESTS=OFF \ -DMAKE_TESTS=OFF \