aboutsummaryrefslogtreecommitdiff
path: root/extra/iw/build
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/build
parent9452d396a6f51b6036fa659a017d28c95e2d2b28 (diff)
downloadrepository-8df6e5058479b351efe45ee15514dce408ca53a6.tar.gz
iw: link statically
Diffstat (limited to 'extra/iw/build')
-rwxr-xr-xextra/iw/build2
1 files changed, 1 insertions, 1 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