]> git.ipfire.org Git - thirdparty/iw.git/commitdiff
Revert "Fix linking with libnl-3"
authorJohannes Berg <johannes.berg@intel.com>
Fri, 11 Nov 2011 08:17:13 +0000 (09:17 +0100)
committerJohannes Berg <johannes.berg@intel.com>
Fri, 11 Nov 2011 08:17:13 +0000 (09:17 +0100)
This reverts commit 15bc193a926ec67e25de175f7dfe45df8cbd3e9a.

This commit broke compiling against libnl 3.0 which
numerous distributions ship.

Makefile

index fb463244c5961c71a65946083bbf6e4fa0c7d342..8443ee69f26fdabf603356c1895e6b036fc3a35e 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -36,11 +36,10 @@ LIBS += -lnl-genl
 NLLIBNAME = libnl-2.0
 endif
 
-# libnl-3 has a separate libnl-genl-3.0.pc
 ifeq ($(NL3FOUND),Y)
 CFLAGS += -DCONFIG_LIBNL30
-LIBS =
-NLLIBNAME = libnl-genl-3.0
+LIBS += -lnl-genl
+NLLIBNAME = libnl-3.0
 endif
 
 ifeq ($(NLLIBNAME),)