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

2021-10-06 Thread Thomas Monjalon
28/09/2021 06:36, mohamad.noor.alim.hus...@intel.com: > From: Mohamad Noor Alim Hussin > > Finding with "librt" keyword would give the output with > full path of librt such as > /usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu/librt.so > instead of -lrt in libdpdk.pc pkg-config file. >

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

2021-09-27 Thread mohamad . noor . alim . hussin
From: Mohamad Noor Alim Hussin Finding with "librt" keyword would give the output with full path of librt such as /usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu/librt.so instead of -lrt in libdpdk.pc pkg-config file. Assume find_library() will prepend "lib", thus remove "lib" from "li