summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Jansa <martin.jansa@gmail.com>2011-11-03 17:52:43 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-11-07 14:03:37 +0000
commit72227178bc74d6e2e24f8df6176c3d45b640e860 (patch)
treeda1b4f75a3028b1418c54261773c38946579940a
parenta4882cd6f98c5b3df80ba96536d94d9f556f77a2 (diff)
downloadopenembedded-core-72227178bc74d6e2e24f8df6176c3d45b640e860.tar.gz
openembedded-core-72227178bc74d6e2e24f8df6176c3d45b640e860.tar.bz2
openembedded-core-72227178bc74d6e2e24f8df6176c3d45b640e860.tar.xz
openembedded-core-72227178bc74d6e2e24f8df6176c3d45b640e860.zip
libnl-2.0: add patch from meta-openembedded to fix pkg-config file
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
-rw-r--r--meta/recipes-support/libnl/libnl-2.0/fix-pc-file.patch17
-rw-r--r--meta/recipes-support/libnl/libnl_2.0.bb1
2 files changed, 18 insertions, 0 deletions
diff --git a/meta/recipes-support/libnl/libnl-2.0/fix-pc-file.patch b/meta/recipes-support/libnl/libnl-2.0/fix-pc-file.patch
new file mode 100644
index 000000000..85afe8f75
--- /dev/null
+++ b/meta/recipes-support/libnl/libnl-2.0/fix-pc-file.patch
@@ -0,0 +1,17 @@
+Upstream-Status: Pending
+
+Some packages are asking only for libnl-2.0, but expects to get also
+libnl-genl, libnl-nf libnl-route, easiest way to fix them is here.
+
+Signed-off-by: Martin Jansa <martin.jansa@gmail.com>
+Index: libnl-2.0/libnl-2.0.pc.in
+===================================================================
+--- libnl-2.0.orig/libnl-2.0.pc.in
++++ libnl-2.0/libnl-2.0.pc.in
+@@ -6,5 +6,5 @@
+ Name: libnl
+ Description: Convenience library for netlink sockets
+ Version: @PACKAGE_VERSION@
+-Libs: -L${libdir} -lnl
++Libs: -L${libdir} -lnl -lnl-genl -lnl-nf -lnl-route
+ Cflags: -I${includedir}
diff --git a/meta/recipes-support/libnl/libnl_2.0.bb b/meta/recipes-support/libnl/libnl_2.0.bb
index f78386710..32705b984 100644
--- a/meta/recipes-support/libnl/libnl_2.0.bb
+++ b/meta/recipes-support/libnl/libnl_2.0.bb
@@ -11,6 +11,7 @@ PR = "r3"
SRC_URI = "\
http://www.infradead.org/~tgr/${BPN}/files/${BP}.tar.gz \
file://fix-pktloc_syntax_h-race.patch \
+ file://fix-pc-file.patch \
"
SRC_URI[md5sum] = "6aaf1e9802a17a7d702bb0638044ffa7"