From 15a05fab24bab57994c11b365402d10ad54cb52e Mon Sep 17 00:00:00 2001 From: Cem Keylan Date: Sun, 26 Sep 2021 02:55:33 +0300 Subject: iw: use libnl-tiny --- extra/iw/build | 14 +++++++++++--- extra/iw/depends | 2 +- 2 files changed, 12 insertions(+), 4 deletions(-) (limited to 'extra/iw') diff --git a/extra/iw/build b/extra/iw/build index 58b5126a..47a95927 100755 --- a/extra/iw/build +++ b/extra/iw/build @@ -2,6 +2,14 @@ # iw manpage is extremely small, # we don't need to compress it. -sed 's@\(iw\.8\)\.gz@\1@' Makefile > _ -cat _ > Makefile; rm -f _ -make DESTDIR="$1" LDFLAGS="$LDFLAGS -static" PREFIX="/usr" SBINDIR="/usr/bin" install +clsed 's@\(iw\.8\)\.gz@\1@' Makefile + +make \ + DESTDIR="$1" \ + LDFLAGS="$LDFLAGS -static" \ + CFLAGS="$CFLAGS -I/usr/include/libnl-tiny -DCONFIG_LIBNL20 -D_GNU_SOURCE" \ + NL1FOUND="" NL2FOUND=Y NLLIBNAME=libnl-tiny \ + LIBS=-lnl-tiny \ + PREFIX="/usr" \ + SBINDIR="/usr/bin" \ + install diff --git a/extra/iw/depends b/extra/iw/depends index 58bd7032..8adba4b6 100644 --- a/extra/iw/depends +++ b/extra/iw/depends @@ -1 +1 @@ -libnl make +libnl-tiny make -- cgit v1.2.3