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

Thomas Monjalon thomas at monjalon.net
Wed Oct 6 16:14:59 CEST 2021


28/09/2021 06:36, mohamad.noor.alim.hussin at intel.com:
> From: Mohamad Noor Alim Hussin <mohamad.noor.alim.hussin at intel.com>
> 
> 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 "librt" keyword. The output will shows
> as -lrt.
> 
> This will cause an issue when compile DPDK app with
> static library as the path of librt has been hard-coded
> in the libdpdk.pc file.
> 
> Fixes: e41856b515ce ("raw/ifpga/base: enhance driver reliability in multi-process")
> Cc: tianfei.zhang at intel.com
> Cc: stable at dpdk.org
> 
> Acked-by: Tianfei Zhang <tianfei.zhang at intel.com>
> Acked-by: Bruce Richardson <bruce.richardson at intel.com>
> 
> Signed-off-by: Mohamad Noor Alim Hussin <mohamad.noor.alim.hussin at intel.com>

Applied, thanks.





More information about the stable mailing list