]> git.ipfire.org Git - thirdparty/iw.git/commit
allow linking against libnl 2.0
authorPat Erley <pat-lkml@erley.org>
Sat, 13 Dec 2008 00:04:05 +0000 (01:04 +0100)
committerJohannes Berg <johannes@sipsolutions.net>
Sat, 13 Dec 2008 00:04:05 +0000 (01:04 +0100)
commitdfd13ee525038e59e029a35087f9f6330a31a7ce
treee79534bc504b84f66741168abdbd8521779f9380
parent9b2e7e6e695370ae3d01c3f341f4ab9d8d13efcf
allow linking against libnl 2.0

This converts iw to use libnl-2, and adds compatibility with libnl-1.
There is not currently a good way to detect the libnl version during
compilation, as the versioning in the netlink/version.h is defined as a
string "2.0" rather than a major and a minor number, so we must detect
it in the Makefile.

Signed-off-by: Pat Erley <pat-lkml@erley.org>
Makefile
iw.c
iw.h