aboutsummaryrefslogtreecommitdiff
path: root/extra/wpa_supplicant/build
diff options
context:
space:
mode:
Diffstat (limited to 'extra/wpa_supplicant/build')
-rwxr-xr-xextra/wpa_supplicant/build6
1 files changed, 6 insertions, 0 deletions
diff --git a/extra/wpa_supplicant/build b/extra/wpa_supplicant/build
new file mode 100755
index 00000000..9b82e869
--- /dev/null
+++ b/extra/wpa_supplicant/build
@@ -0,0 +1,6 @@
+#!/bin/sh -e
+
+cd wpa_supplicant
+
+make LIBDIR=/usr/lib BINDIR=/usr/bin LDFLAGS="$LDFLAGS -static"
+make LIBDIR=/usr/lib BINDIR=/usr/bin DESTDIR="$1" install