diff options
Diffstat (limited to 'extra')
-rwxr-xr-x | extra/iw/build | 14 | ||||
-rw-r--r-- | extra/iw/depends | 2 |
2 files changed, 12 insertions, 4 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 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 |