Search Linux Wireless

[PATCH] crda: fix compilation with libnl-3.0

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



>From 97f1b27e02740ce6bb83c548de0c0a7fbe9b648f Mon Sep 17 00:00:00 2001
From: Vladimir Kondratiev <qca_vkondrat@xxxxxxxxxxxxxxxx>
Date: Mon, 10 Dec 2012 17:54:29 +0200
Subject: [PATCH] crda: fix compilation with libnl-3.0

On the distributives that use libnl v.3, libnl-genl named
libnl-genl-3.

Checked for both rpm based distros and Ubuntu.

Signed-off-by: Vladimir Kondratiev <qca_vkondrat@xxxxxxxxxxxxxxxx>
---
 Makefile |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Makefile b/Makefile
index 084d8e5..f5bd130 100644
--- a/Makefile
+++ b/Makefile
@@ -51,7 +51,7 @@ NL3FOUND := $(shell pkg-config --atleast-version=3 libnl-3.0 && echo Y)
 
 ifeq ($(NL3FOUND),Y)
 CFLAGS += -DCONFIG_LIBNL30
-NLLIBS += -lnl-genl
+NLLIBS += -lnl-genl-3
 NLLIBNAME = libnl-3.0
 else
 	ifeq ($(NL2FOUND),Y)
-- 
1.7.10.4


--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Wireless Personal Area Network]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite Hiking]     [MIPS Linux]     [ARM Linux]     [Linux RAID]

  Powered by Linux