diff options
author | Cem Keylan <cem@ckyln.com> | 2021-09-26 02:55:33 +0300 |
---|---|---|
committer | Cem Keylan <cem@ckyln.com> | 2021-09-26 02:55:33 +0300 |
commit | 15a05fab24bab57994c11b365402d10ad54cb52e (patch) | |
tree | 19e94295e2eec5f17c94087bb5142f3673755eb5 /extra/iw/build | |
parent | 23d982699285717efe87ca05144c5d3fd9f912c9 (diff) | |
download | repository-15a05fab24bab57994c11b365402d10ad54cb52e.tar.gz |
iw: use libnl-tiny
Diffstat (limited to 'extra/iw/build')
-rwxr-xr-x | extra/iw/build | 14 |
1 files changed, 11 insertions, 3 deletions
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 |