]> git.droids-corp.org - dpdk.git/commit
build: allow recursive disabling of libraries
authorBruce Richardson <bruce.richardson@intel.com>
Wed, 19 Jan 2022 18:09:57 +0000 (18:09 +0000)
committerDavid Marchand <david.marchand@redhat.com>
Fri, 21 Jan 2022 11:05:14 +0000 (12:05 +0100)
commite71626995eb917a4be45242cb2290d5ff819d822
tree20b882a40e952b74f1c3552252f5ece08e43a1a6
parentc8557ed434213fe11ecd867819823ea6865311d2
build: allow recursive disabling of libraries

Align the code in lib/meson.build with that in drivers/meson.build to
enable recursive disabling of libraries, i.e. if library b depends on
library a, disable library b if a is disabled (either explicitly or
implicitly). This allows libraries to be optional even if other DPDK
libs depend on them, something that was not previously possible.

Signed-off-by: Bruce Richardson <bruce.richardson@intel.com>
Acked-by: Stephen Hemminger <stephen@networkplumber.org>
Acked-by: Morten Brørup <mb@smartsharesystems.com>
Acked-by: David Marchand <david.marchand@redhat.com>
lib/meson.build