diff options
author | Khem Raj <raj.khem@gmail.com> | 2010-09-22 15:02:53 -0700 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2010-09-23 07:51:29 -0700 |
commit | 1fc3b764c48de84260fe9560c66930388cbaa058 (patch) | |
tree | fa84dd172b8ea589ef394dd653ec900005f77504 /recipes/libnl/libnl_1.1.bb | |
parent | 66f27716906ec344a6b9628ed5d0f21a3104718f (diff) | |
download | openembedded-1fc3b764c48de84260fe9560c66930388cbaa058.tar.gz |
libnl_1.1.bb: Fix the build when libnl2 is staged
Currently linker would search for libnl in sysroot
first before linking in the one thats build with libnl
this patch directs ld to link in with the one thats
build and not look for the one in sysroot.
As a result we can compile libnl and libnl2 alongside
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'recipes/libnl/libnl_1.1.bb')
-rw-r--r-- | recipes/libnl/libnl_1.1.bb | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/recipes/libnl/libnl_1.1.bb b/recipes/libnl/libnl_1.1.bb index 06059ca85d..f1b2a9d485 100644 --- a/recipes/libnl/libnl_1.1.bb +++ b/recipes/libnl/libnl_1.1.bb @@ -3,10 +3,7 @@ SECTION = "libs/network" LICENSE = "LGPL" HOMEPAGE = "http://www.infradead.org/~tgr/libnl/" -# If you get errors like : undefined reference to `nl_handle_alloc -# do a bitbake -c clean libnl2 - -PR = "r3" +PR = "r4" inherit autotools pkgconfig @@ -18,6 +15,7 @@ SRC_URI = "\ file://fix-includes.patch \ file://respect-ldflags.patch \ file://netlink-local-fix.patch \ + file://dont-link-libnl-from-sysroot.patch \ " |