diff options
-rw-r--r-- | meta/recipes-support/libnl/libnl-2.0/fix-pc-file.patch | 17 | ||||
-rw-r--r-- | meta/recipes-support/libnl/libnl_2.0.bb | 1 |
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 0000000000..85afe8f751 --- /dev/null +++ b/meta/recipes-support/libnl/libnl-2.0/fix-pc-file.patch | |||
@@ -0,0 +1,17 @@ | |||
1 | Upstream-Status: Pending | ||
2 | |||
3 | Some packages are asking only for libnl-2.0, but expects to get also | ||
4 | libnl-genl, libnl-nf libnl-route, easiest way to fix them is here. | ||
5 | |||
6 | Signed-off-by: Martin Jansa <martin.jansa@gmail.com> | ||
7 | Index: libnl-2.0/libnl-2.0.pc.in | ||
8 | =================================================================== | ||
9 | --- libnl-2.0.orig/libnl-2.0.pc.in | ||
10 | +++ libnl-2.0/libnl-2.0.pc.in | ||
11 | @@ -6,5 +6,5 @@ | ||
12 | Name: libnl | ||
13 | Description: Convenience library for netlink sockets | ||
14 | Version: @PACKAGE_VERSION@ | ||
15 | -Libs: -L${libdir} -lnl | ||
16 | +Libs: -L${libdir} -lnl -lnl-genl -lnl-nf -lnl-route | ||
17 | Cflags: -I${includedir} | ||
diff --git a/meta/recipes-support/libnl/libnl_2.0.bb b/meta/recipes-support/libnl/libnl_2.0.bb index f78386710d..32705b984b 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" | |||
11 | SRC_URI = "\ | 11 | SRC_URI = "\ |
12 | http://www.infradead.org/~tgr/${BPN}/files/${BP}.tar.gz \ | 12 | http://www.infradead.org/~tgr/${BPN}/files/${BP}.tar.gz \ |
13 | file://fix-pktloc_syntax_h-race.patch \ | 13 | file://fix-pktloc_syntax_h-race.patch \ |
14 | file://fix-pc-file.patch \ | ||
14 | " | 15 | " |
15 | 16 | ||
16 | SRC_URI[md5sum] = "6aaf1e9802a17a7d702bb0638044ffa7" | 17 | SRC_URI[md5sum] = "6aaf1e9802a17a7d702bb0638044ffa7" |