[PATCH] Add static lib to -dev .deb package

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/OpenBSC@lists.osmocom.org/.

msuraev at sysmocom.de msuraev at sysmocom.de
Sun Apr 24 10:01:03 UTC 2016


From: Max <msuraev at 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(+)

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
-- 
2.8.1




More information about the OpenBSC mailing list