aboutsummaryrefslogtreecommitdiff
path: root/extra/iw
diff options
context:
space:
mode:
authorCem Keylan <cem@ckyln.com>2020-06-10 15:17:20 +0300
committerCem Keylan <cem@ckyln.com>2020-06-10 15:17:20 +0300
commit8df6e5058479b351efe45ee15514dce408ca53a6 (patch)
tree17b649967266bb5c355ebeb89fcbc0c0dd6a9308 /extra/iw
parent9452d396a6f51b6036fa659a017d28c95e2d2b28 (diff)
downloadrepository-8df6e5058479b351efe45ee15514dce408ca53a6.tar.gz
iw: link statically
Diffstat (limited to 'extra/iw')
-rwxr-xr-xextra/iw/build2
-rw-r--r--extra/iw/depends1
-rw-r--r--extra/iw/version2
3 files changed, 3 insertions, 2 deletions
diff --git a/extra/iw/build b/extra/iw/build
index c3f0c0b3..58b5126a 100755
--- a/extra/iw/build
+++ b/extra/iw/build
@@ -4,4 +4,4 @@
# we don't need to compress it.
sed 's@\(iw\.8\)\.gz@\1@' Makefile > _
cat _ > Makefile; rm -f _
-make DESTDIR="$1" PREFIX="/usr" SBINDIR="/usr/bin" install
+make DESTDIR="$1" LDFLAGS="$LDFLAGS -static" PREFIX="/usr" SBINDIR="/usr/bin" install
diff --git a/extra/iw/depends b/extra/iw/depends
new file mode 100644
index 00000000..58bd7032
--- /dev/null
+++ b/extra/iw/depends
@@ -0,0 +1 @@
+libnl make
diff --git a/extra/iw/version b/extra/iw/version
index d8f4edb8..aab201bb 100644
--- a/extra/iw/version
+++ b/extra/iw/version
@@ -1 +1 @@
-5.4 1
+5.4 2