diff options
author | Martin Jansa <Martin.Jansa@gmail.com> | 2011-03-23 16:55:00 +0100 |
---|---|---|
committer | Steffen Sledz <sledz@dresearch-fe.de> | 2011-04-29 14:08:28 +0200 |
commit | efc0bacbf2ee66d46989db88bc35be65cadd48bc (patch) | |
tree | 530899e85817b189ce02b5f1358d2eb1f85bed9f /recipes/libnl/libnl1-1.1/dont-link-libnl-from-sysroot.patch | |
parent | 591f8aa232c7393de5289297c157962c7b892072 (diff) | |
download | openembedded-efc0bacbf2ee66d46989db88bc35be65cadd48bc.tar.gz |
libnl-1.1: rename to libnl1 and build only static lib
* static lib is enough to build nm and shouldn't conflict with libnl2
* this makes special case from libnl1 instead libnl2
Acked-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Diffstat (limited to 'recipes/libnl/libnl1-1.1/dont-link-libnl-from-sysroot.patch')
-rw-r--r-- | recipes/libnl/libnl1-1.1/dont-link-libnl-from-sysroot.patch | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/recipes/libnl/libnl1-1.1/dont-link-libnl-from-sysroot.patch b/recipes/libnl/libnl1-1.1/dont-link-libnl-from-sysroot.patch new file mode 100644 index 0000000000..beb63617ac --- /dev/null +++ b/recipes/libnl/libnl1-1.1/dont-link-libnl-from-sysroot.patch @@ -0,0 +1,26 @@ +Index: libnl-1.1/src/Makefile +=================================================================== +--- libnl-1.1.orig/src/Makefile 2008-01-14 07:48:45.000000000 -0800 ++++ libnl-1.1/src/Makefile 2010-09-22 14:58:46.820826001 -0700 +@@ -13,7 +13,7 @@ ifeq ($(shell [ ! -r ../Makefile.opts ] + include ../Makefile.opts + endif + +-LDFLAGS += -L../lib -lnl utils.o ++LDFLAGS += ../lib/libnl.so utils.o + CIN := $(wildcard nl-*.c) $(wildcard genl-*.c) $(wildcard nf-*.c) + TOOLS := $(CIN:%.c=%) + +Index: libnl-1.1/tests/Makefile +=================================================================== +--- libnl-1.1.orig/tests/Makefile 2008-01-14 07:48:45.000000000 -0800 ++++ libnl-1.1/tests/Makefile 2010-09-22 14:58:46.820826001 -0700 +@@ -13,7 +13,7 @@ ifeq ($(shell [ ! -r ../Makefile.opts ] + include ../Makefile.opts + endif + +-LDFLAGS += -L../lib -lnl ../src/utils.o ++LDFLAGS += ../lib/libnl.so ../src/utils.o + CIN := $(wildcard test-*.c) + TOOLS := $(CIN:%.c=%) + |