[ovs-git] Open vSwitch: openvswitch: Use libtool and allow building shared libs (master)

dev at openvswitch.org dev at openvswitch.org
Wed Dec 18 00:30:58 UTC 2013


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Open vSwitch".

The branch, master has been updated
       via  38b7a52b618b98f03f089d0dff4050ec76fd06d4 (commit)
      from  45ebaaf58c8dd017b5ba6a1ea18b77b8760a41e8 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 38b7a52b618b98f03f089d0dff4050ec76fd06d4
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=38b7a52b618b98f03f089d0dff4050ec76fd06d4
Author: Helmut Schaa <helmut.schaa at googlemail.com>
		
openvswitch: Use libtool and allow building shared libs
		
Currently openvswitch builds all libraries static only. However,
libopenvswitch is linked into nearly all openvswitch executables
making it hardly possible to run openvswitch on embedded devices
(for example running OpenWrt).

Convert openvswitch to use libtool for building its internal libs.
This allows "--enable-shared" and "--enable-static" as configure
arguments. Default is "--disable-shared" thus keeping the current
behavior with the only change that static libs are installed by
"make install".

Since the openvswitch library interfaces are internal and thus not
stable (yet) encode the openvswitch version into the library name:
libopenvswitch-2.0.90.so

Binary size is reduced to around 1/3 when using shared libs.

Signed-off-by: Helmut Schaa <helmut.schaa at googlemail.com>
Signed-off-by: Ben Pfaff <blp at nicira.com>


-----------------------------------------------------------------------

Summary of changes:
 AUTHORS                         |    1 +
 Makefile.am                     |    2 +-
 acinclude.m4                    |    2 +-
 build-aux/.gitignore            |    1 +
 configure.ac                    |    2 +-
 lib/automake.mk                 |   39 +++++++++++++-----------
 m4/.gitignore                   |    5 ++++
 ofproto/automake.mk             |   10 +++++--
 ovsdb/automake.mk               |   14 +++++----
 rhel/openvswitch-fedora.spec.in |    3 ++
 rhel/openvswitch.spec.in        |    1 +
 tests/automake.mk               |   62 +++++++++++++++++++--------------------
 utilities/automake.mk           |   16 +++++-----
 vswitchd/automake.mk            |    6 ++--
 vtep/automake.mk                |    2 +-
 15 files changed, 95 insertions(+), 71 deletions(-)
 create mode 100644 m4/.gitignore


hooks/post-receive
-- 
Open vSwitch



More information about the git mailing list