build: provide suitable error for "both" libraries option
authorBruce Richardson <bruce.richardson@intel.com>
Mon, 11 Jan 2021 13:55:59 +0000 (13:55 +0000)
committerThomas Monjalon <thomas@monjalon.net>
Wed, 20 Jan 2021 01:03:08 +0000 (02:03 +0100)
commit08895f10e7729c07ccd063501acd04e77c7730f5
tree22a3f3850d4378ed374dcc62798681a1abfecebe
parent762bfccc8abfb44995e4884136f7838fb500b507
build: provide suitable error for "both" libraries option

Rather than having the DPDK configuration error out when linking apps
and examples when "both" is select for "default_library" option, we can
detect that setting earlier in the build config and provide a suitable
error message to the user.

Cc: stable@dpdk.org
Signed-off-by: Bruce Richardson <bruce.richardson@intel.com>
Reviewed-by: Andrew Boyer <aboyer@pensando.io>
Reviewed-by: Honnappa Nagarahalli <honnappa.nagarahalli@arm.com>
Acked-by: Thomas Monjalon <thomas@monjalon.net>
config/meson.build