diff mbox

[ovs-dev,8/9] Debian: build openvswitch as shared libraries

Message ID 1456184819-56124-9-git-send-email-ben@skyportsystems.com
State Not Applicable
Headers show

Commit Message

ben@skyportsystems.com Feb. 22, 2016, 11:46 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(-)
diff mbox

Patch

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 cc17cd0..31959c1 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)))
@@ -92,3 +92,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