[dpdk-dev] [PATCH v2 4/6] devtools/test-meson-builds: add testing of pkg-config file
Luca Boccassi
bluca at debian.org
Thu May 2 14:54:25 CEST 2019
On Thu, 2019-05-02 at 14:38 +0200, Thomas Monjalon wrote:
> > +$ninja_cmd -C $build_path install
> > +
> > +pc_file=$(find $DESTDIR -name libdpdk.pc)
> > +PKG_CONFIG_PATH=$(dirname $pc_file) ; export PKG_CONFIG_PATH
> > +
> > +# rather than hacking our environment, just edit the .pc file
> > prefix value
> > +sed -i -e "s|prefix=|prefix=$DESTDIR|" $pc_file
>
> What is the alternative?
> Cannot we configure meson with the right prefix?
Please see the email exchange between myself and Bruce on v1 3/4 - the
short version is that it can, but it gets messy due to the kernel
modules.
--
Kind regards,
Luca Boccassi
More information about the dev
mailing list