summaryrefslogtreecommitdiffstats
path: root/packaging
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2014-12-01 18:45:41 -0800
committerGravatar Dirk Hohndel <dirk@hohndel.org>2014-12-02 08:51:32 -0800
commitebd22b9abc689d46e49532424adb0fac912cc409 (patch)
tree588d2ab2fdbd2fcda114448b3f8861fcf6aa801c /packaging
parent74447d63892e37b8c69b5456de3836b745552ed0 (diff)
downloadsubsurface-ebd22b9abc689d46e49532424adb0fac912cc409.tar.gz
Allow static libgit2
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'packaging')
-rwxr-xr-xpackaging/ubuntu/rules4
1 files changed, 2 insertions, 2 deletions
diff --git a/packaging/ubuntu/rules b/packaging/ubuntu/rules
index bc5831655..5b9fdc516 100755
--- a/packaging/ubuntu/rules
+++ b/packaging/ubuntu/rules
@@ -18,8 +18,8 @@ override_dh_auto_clean:
override_dh_auto_configure:
(cd libdivecomputer ; autoreconf --install ; ./configure ; make)
- (mkdir libgit2/build ; cd libgit2/build ; cmake .. ; make )
- qmake LIBDCDEVEL=./libdivecomputer LIBGIT2DEVEL=./libgit2 subsurface.pro
+ (mkdir libgit2/build ; cd libgit2/build ; cmake -DBUILD_SHARED_LIBS=OFF .. ; sed -i 's/.so$/.a/' CMakeCache.txt ; make )
+ qmake LIBDCDEVEL=./libdivecomputer LIBGIT2DEVEL=./libgit2 LIBGIT2STATIC=1 subsurface.pro
override_dh_installchangelogs:
dh_installchangelogs