Thread (10 messages) flat view 10 messages, 7 authors, 2021-10-06

Re: [dpdk-dev] [PATCH v2] ifpga/base/meson: fix looking for librt

From: David Marchand <hidden>
Date: 2021-07-15 08:00:38

Hello,

On Wed, Jul 14, 2021 at 5:40 AM Zhang, Tianfei [off-list ref] wrote:
quoted
Hi Tianfei,

To reproduce this, assume using Ubuntu 20.04.
1. Install libfdt (It will include ifpga driver from drivers/raw/ifpga/base)
    $ sudo apt-get install libfdt-dev
2. configure DPDK library
    $ meson build
3. check libdpdk.pc file in build/meson-private/libdpdk.pc. It will include path
to librt.so without this patch.
I have checked the libdpdk.pc and got the different between with and without this patch.
Without this patch, there are a full path for librt.so in libdpdk.pc. With this patch, it provide "-lrt" in libdpdk.pc.

This patch looks good for me.

Acked-by: Tianfei Zhang <redacted>
I can't find the original mail to dev@dpdk.org and patchwork did not help.
Please, can you resubmit this patch?

Also copy Bruce as this touches a meson subtlety I was not aware of,
and he should probably have a look.


Thanks.

-- 
David Marchand
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help