summaryrefslogtreecommitdiffstats
path: root/recipes-extended/dpdk/dpdk_20.11.1.bb
diff options
context:
space:
mode:
authorMohamad Noor Alim Hussin <mohamad.noor.alim.hussin@intel.com>2021-06-24 17:26:22 +0800
committerAnuj Mittal <anuj.mittal@intel.com>2021-06-25 15:57:30 +0800
commitfb2dd96868a3eb51673e4a1e122e0b375aa1832f (patch)
treea375e31b667e249f52bc27384465f7f9e79ca644 /recipes-extended/dpdk/dpdk_20.11.1.bb
parente73b8ba6a6ea6e987a3a67456b6951c717633396 (diff)
downloadmeta-dpdk-fb2dd96868a3eb51673e4a1e122e0b375aa1832f.tar.gz
dpdk: fix finding librt
The generated pkg-config libdpdk.pc file has the output with full path of librt such as <builddir>/recipe-sysroot/usr/lib/librt.so instead of -lrt. This will cause an issue when compile DPDK app with static library as the librt is not found with the hardcode path in the libdpdk.pc file. Signed-off-by: Mohamad Noor Alim Hussin <mohamad.noor.alim.hussin@intel.com> Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Diffstat (limited to 'recipes-extended/dpdk/dpdk_20.11.1.bb')
-rw-r--r--recipes-extended/dpdk/dpdk_20.11.1.bb1
1 files changed, 1 insertions, 0 deletions
diff --git a/recipes-extended/dpdk/dpdk_20.11.1.bb b/recipes-extended/dpdk/dpdk_20.11.1.bb
index d96fd8b..19e8bcc 100644
--- a/recipes-extended/dpdk/dpdk_20.11.1.bb
+++ b/recipes-extended/dpdk/dpdk_20.11.1.bb
@@ -2,6 +2,7 @@ include dpdk.inc
2 2
3SRC_URI += " \ 3SRC_URI += " \
4 file://0001-meson.build-march-and-mcpu-already-passed-by-Yocto.patch \ 4 file://0001-meson.build-march-and-mcpu-already-passed-by-Yocto.patch \
5 file://0001-ifpga-meson-Fix-finding-librt-using-find_library.patch \
5" 6"
6 7
7STABLE = "-stable" 8STABLE = "-stable"