[ovs-dev] [PATCH v3 5/7] lib/automake: split build multiple static library
u9012063 at gmail.com
Tue Jun 16 15:41:23 UTC 2020
On Wed, Jun 10, 2020 at 3:47 AM Harry van Haaren
<harry.van.haaren at intel.com> wrote:
> This commit changes the way the core lib/* code is built.
> Before this commit, the lib/libopenvswitch_la target contains
> all the code, and is directly linked against by executable targets
> like ovs-vswitchd, ovsdb, tests etc.
> This commit splits the building of the code and the linking to
> that code into two seperate static libraries, providing more
> flexibility in building of each individual static library.
> A new library lib/libopenvswitchcore_la represents the lib/*
> code. The previous library lib/libopenvswitch_la remains intact,
> and is used by executable targets to link against. The core
> library is listed as a dependency for the linked against library.
> This approach requires no changes for executable targets, and
> provides the required flexibility for future ISA optimized static
> libraries to be built individually, and later combined into a
> single static library.
> Signed-off-by: Harry van Haaren <harry.van.haaren at intel.com>
I tested it and it looks good to me.
More information about the dev