[ovs-dev,v4,20/22] Debian: build openvswitch as shared libraries
diff mbox

Message ID 411bac239a32c99cdd4fbed0e2057629f1f490ca.1458688105.git.ben@skyportsystems.com
State Superseded
Headers show

Commit Message

ben@skyportsystems.com March 22, 2016, 11:17 p.m. UTC
From: Ben Warren <ben@skyportsystems.com>

Signed-off-by: Ben Warren <ben@skyportsystems.com>
---
 debian/openvswitch-common.install | 3 +++
 debian/rules                      | 5 ++++-
 2 files changed, 7 insertions(+), 1 deletion(-)

Patch
diff mbox

diff --git a/debian/openvswitch-common.install b/debian/openvswitch-common.install
index 3264ea5..73c8fc9 100644
--- a/debian/openvswitch-common.install
+++ b/debian/openvswitch-common.install
@@ -9,3 +9,6 @@  usr/sbin/ovs-bugtool
 usr/share/openvswitch/bugtool-plugins
 usr/share/openvswitch/scripts/ovs-bugtool-*
 usr/share/openvswitch/scripts/ovs-lib
+usr/lib/*.a
+usr/lib/*.so
+usr/lib/*.so.*
diff --git a/debian/rules b/debian/rules
index 2a70bd6..a66bead 100755
--- a/debian/rules
+++ b/debian/rules
@@ -30,7 +30,7 @@  override_dh_autoreconf:
 	dh_autoreconf $(DH_AS_NEEDED)
 
 override_dh_auto_configure:
-	dh_auto_configure -- --enable-ssl $(DATAPATH_CONFIGURE_OPTS)
+	dh_auto_configure -- --enable-ssl --enable-shared $(DATAPATH_CONFIGURE_OPTS)
 
 override_dh_auto_test:
 ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
@@ -91,3 +91,6 @@  override_dh_installinit:
 
 override_dh_strip:
 	dh_strip --dbg-package=openvswitch-dbg
+
+override_dh_shlibdeps:
+	dh_shlibdeps -l$(shell pwd)/debian/tmp/usr/lib -O--parallel --dpkg-shlibdeps-params=--ignore-missing-info