misc: fix the static vppctl build 16/40516/3
authorAndrew Yourtchenko <ayourtch@gmail.com>
Wed, 13 Mar 2024 11:16:11 +0000 (12:16 +0100)
committerAndrew Yourtchenko <ayourtch@gmail.com>
Wed, 13 Mar 2024 12:39:22 +0000 (13:39 +0100)
commite574736322733ec5a126ca01efb958570e5355eb
treed51a239118039d8730bbe119005dac66731935c0
parente45fac02fde777bbf81f4b22a62c150148457d28
misc: fix the static vppctl build

Change I58e1ae1c91f4a62e80eaf4e16e9932d8bab17c74 has introduced a reference to config.h,
which is not there in a case of building a static standalone vppctl.

Solution: add a variable STATIC_VPPCTL which, when defined, avoids including
the missing include file. Thanks a lot to Damjan for the suggestion.

Type: fix
Change-Id: I133235ba07e5c2e0d5669be9c2292cab0fdf436f
Signed-off-by: Andrew Yourtchenko <ayourtch@gmail.com>
extras/scripts/build_static_vppctl.sh
src/vpp/app/vppctl.c