blob: b1e15e52163b2de8cab5b072a968b19059e3a0da (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
From 46b3ff797135574aa0ee42f633a281d44f48da95 Mon Sep 17 00:00:00 2001
From: Naveen Saini <naveen.kumar.saini@intel.com>
Date: Mon, 17 Oct 2022 16:05:15 +0800
Subject: [PATCH 4/4] Makefile: fix libxdp.pc error
Error:
do_populate_sysroot: QA Issue: libxdp.pc failed sanity test (tmpdir) in
path ... xdp-tools/1.2.8-r0/sysroot-destdir/usr/lib/pkgconfig [pkgconfig]
Upstream-Status: Inappropriate
Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
---
lib/libxdp/Makefile | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/lib/libxdp/Makefile b/lib/libxdp/Makefile
index 9a340a3..bc39177 100644
--- a/lib/libxdp/Makefile
+++ b/lib/libxdp/Makefile
@@ -76,8 +76,8 @@ $(OBJDIR)/libxdp.so.$(LIBXDP_VERSION): $(SHARED_OBJS)
$^ $(LDFLAGS) $(LDLIBS) -o $@
$(OBJDIR)/libxdp.pc:
- $(Q)sed -e "s|@PREFIX@|$(PREFIX)|" \
- -e "s|@LIBDIR@|$(LIBDIR)|" \
+ $(Q)sed -e "s|@PREFIX@|$(prefix)|" \
+ -e "s|@LIBDIR@|$(libdir)|" \
-e "s|@VERSION@|$(TOOLS_VERSION)|" \
< libxdp.pc.template > $@
--
2.25.1
|