From patchwork Sun Apr 24 10:01:03 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Max X-Patchwork-Id: 614133 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.osmocom.org (lists.osmocom.org [IPv6:2a01:4f8:191:444b::2:7]) by ozlabs.org (Postfix) with ESMTP id 3qt4dG4vstz9sf6 for ; Sun, 24 Apr 2016 20:01:38 +1000 (AEST) Received: from lists.osmocom.org (lists.osmocom.org [144.76.43.76]) by lists.osmocom.org (Postfix) with ESMTP id F03A6139A6; Sun, 24 Apr 2016 10:01:36 +0000 (UTC) X-Original-To: openbsc@lists.osmocom.org Delivered-To: openbsc@lists.osmocom.org Received: from mail.sysmocom.de (mail.sysmocom.de [IPv6:2a01:4f8:191:444c::2:4]) by lists.osmocom.org (Postfix) with ESMTP id 0D5061399F for ; Sun, 24 Apr 2016 10:01:35 +0000 (UTC) Received: from mail.sysmocom.de (mail.sysmocom.de [144.76.43.93]) by mail.sysmocom.de (Postfix) with ESMTP id B7CD41B26E7; Sun, 24 Apr 2016 10:01:05 +0000 (UTC) Received: from pbell.local (unknown [IPv6:2001:bf0:c001:30:d486:e0e6:e192:64d1]) by mail.sysmocom.de (Postfix) with ESMTPSA id 0598D1B26E6; Sun, 24 Apr 2016 10:01:04 +0000 (UTC) From: msuraev@sysmocom.de To: openbsc@lists.osmocom.org Subject: [PATCH] Add static lib to -dev .deb package Date: Sun, 24 Apr 2016 12:01:03 +0200 Message-Id: <1461492063-5336-1-git-send-email-msuraev@sysmocom.de> X-Mailer: git-send-email 2.8.1 X-Virus-Scanned: ClamAV using ClamSMTP X-BeenThere: openbsc@lists.osmocom.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: "Development of OpenBSC, OsmoBSC, OsmoNITB, OsmoCSCN" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Max Errors-To: openbsc-bounces@lists.osmocom.org Sender: "OpenBSC" From: Max 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