On Wed, Dec 18, 2013 at 1:29 AM, Ben Pfaff <b...@nicira.com> wrote:
> On Fri, Dec 13, 2013 at 06:54:28PM +0100, Helmut Schaa wrote:
>> 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.sc...@googlemail.com>
>
> Thank you!
>
> I had to fold in the following to polish this up a bit (in particular
> to get "sparse" to work).  I'll push this in a minute.

Nice, thanks for the sparse cleanup!
_______________________________________________
dev mailing list
dev@openvswitch.org
http://openvswitch.org/mailman/listinfo/dev

Reply via email to