summaryrefslogtreecommitdiffstats
path: root/packaging/ubuntu
diff options
context:
space:
mode:
Diffstat (limited to 'packaging/ubuntu')
-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