Add static lib to -dev .deb package
diff mbox

Message ID 1461492063-5336-1-git-send-email-msuraev@sysmocom.de
State New
Headers show

Commit Message

Max April 24, 2016, 10:01 a.m. UTC
From: Max <msuraev@sysmocom.de>

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.
---
 debian/libosmocore-dev.install | 1 +
 debian/rules                   | 3 +++
 2 files changed, 4 insertions(+)

Patch
diff mbox

diff --git a/debian/libosmocore-dev.install b/debian/libosmocore-dev.install
index 7a62c6f..7c5a789 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 a6a2cfc..3cce05e 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