[ovs-dev] [PATCH v2 22/23] Debian: build openvswitch as shared libraries

ben at skyportsystems.com ben at skyportsystems.com
Thu Mar 3 18:21:02 UTC 2016


From: Ben Warren <ben at skyportsystems.com>

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

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




More information about the dev mailing list