[PATCH v4 7/7] buildtools/chkincs: test headers for C++ compatibility
Bruce Richardson
bruce.richardson at intel.com
Fri Feb 11 11:31:38 CET 2022
On Thu, Feb 10, 2022 at 10:58:37PM +0100, Thomas Monjalon wrote:
> 10/02/2022 16:42, Bruce Richardson:
> > +executable('chkincs-cpp', cpp_sources, + cpp_args: ['-include',
> > 'rte_config.h', cflags], + link_args: dpdk_extra_ldflags, +
> > include_directories: includes, + dependencies: deps, +
> > link_whole: dpdk_static_libraries + dpdk_drivers, + install:
> > false)
>
> devtools/test-meson-builds.sh is failing on build-x86-generic at link
> stage: /usr/bin/ld: cannot find -lIPSec_MB That's probably because there
> is no pkg-config file for this lib, and it is not installed in a standard
> directory, so my setup is adding -L in LDFLAGS.
>
The test-meson-build.sh script works fine for me on my system with the
ipsec_mb libraries being found ok [installed in standard path]. Can you
share how you are adding the extra library paths, is it via environment or
via c_link_args?
/Bruce
More information about the dev
mailing list