summaryrefslogtreecommitdiffstats
path: root/meta/recipes-support/libnl/libnl/fix-pc-file.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-support/libnl/libnl/fix-pc-file.patch')
-rw-r--r--meta/recipes-support/libnl/libnl/fix-pc-file.patch17
1 files changed, 17 insertions, 0 deletions
diff --git a/meta/recipes-support/libnl/libnl/fix-pc-file.patch b/meta/recipes-support/libnl/libnl/fix-pc-file.patch
new file mode 100644
index 0000000000..fe8b833a1c
--- /dev/null
+++ b/meta/recipes-support/libnl/libnl/fix-pc-file.patch
@@ -0,0 +1,17 @@
1Upstream-Status: Pending
2
3Some packages are asking only for libnl-2.0, but expects to get also
4libnl-genl, libnl-nf libnl-route, easiest way to fix them is here.
5
6Signed-off-by: Martin Jansa <martin.jansa@gmail.com>
7Index: libnl-3.2.14/libnl-3.0.pc.in
8===================================================================
9--- libnl-3.2.14.orig/libnl-3.0.pc.in
10+++ libnl-3.2.14/libnl-3.0.pc.in
11@@ -6,5 +6,5 @@ includedir=@includedir@
12 Name: libnl
13 Description: Convenience library for netlink sockets
14 Version: @PACKAGE_VERSION@
15-Libs: -L${libdir} -lnl-@MAJ_VERSION@
16+Libs: -L${libdir} -lnl-@MAJ_VERSION@ -lnl-genl-@MAJ_VERSION@ -lnl-nf-@MAJ_VERSION@ -lnl-route-@MAJ_VERSION@
17 Cflags: -I${includedir}/libnl@MAJ_VERSION@