diff options
author | Mohamad Noor Alim Hussin <mohamad.noor.alim.hussin@intel.com> | 2021-06-24 17:26:22 +0800 |
---|---|---|
committer | Anuj Mittal <anuj.mittal@intel.com> | 2021-06-25 15:57:30 +0800 |
commit | fb2dd96868a3eb51673e4a1e122e0b375aa1832f (patch) | |
tree | a375e31b667e249f52bc27384465f7f9e79ca644 /recipes-extended/dpdk/dpdk_20.11.1.bb | |
parent | e73b8ba6a6ea6e987a3a67456b6951c717633396 (diff) | |
download | meta-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.bb | 1 |
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 | ||
3 | SRC_URI += " \ | 3 | SRC_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 | ||
7 | STABLE = "-stable" | 8 | STABLE = "-stable" |