summaryrefslogtreecommitdiffstats
path: root/debian
diff options
context:
space:
mode:
authorMax <msuraev@sysmocom.de>2016-04-24 12:01:03 +0200
committerHolger Hans Peter Freyther <holger@moiji-mobile.com>2016-04-24 19:52:20 +0200
commit936151bbffc6a06124dac7252a5bf183f89581ea (patch)
tree403633948669c2880dfde8dff8c0b67da6969806 /debian
parent610ef99e6d66cd36fbee712c744c4cc71f08844f (diff)
Add static lib to -dev .deb package
According to https://www.debian.org/doc/debian-policy/ch-sharedlibs.html and http://packaging.ubuntu.com/html/libraries.html that's where it belongs.
Diffstat (limited to 'debian')
-rw-r--r--debian/libosmocore-dev.install1
-rwxr-xr-xdebian/rules3
2 files changed, 4 insertions, 0 deletions
diff --git a/debian/libosmocore-dev.install b/debian/libosmocore-dev.install
index 7a62c6f2..7c5a789a 100644
--- a/debian/libosmocore-dev.install
+++ b/debian/libosmocore-dev.install
@@ -1,4 +1,5 @@
usr/include/*
+usr/lib/*/lib*.a
usr/lib/*/lib*.so
usr/lib/*/lib*.la
usr/lib/*/pkgconfig/*
diff --git a/debian/rules b/debian/rules
index a6a2cfc9..3cce05e9 100755
--- a/debian/rules
+++ b/debian/rules
@@ -35,3 +35,6 @@ override_dh_auto_test:
override_dh_autoreconf:
echo $(VERSION) > .tarball-version
dh_autoreconf
+
+override_dh_auto_configure:
+ dh_auto_configure -- --enable-static