aboutsummaryrefslogtreecommitdiff
path: root/extra/dash/build
diff options
context:
space:
mode:
Diffstat (limited to 'extra/dash/build')
-rwxr-xr-xextra/dash/build11
1 files changed, 11 insertions, 0 deletions
diff --git a/extra/dash/build b/extra/dash/build
new file mode 100755
index 00000000..704d598e
--- /dev/null
+++ b/extra/dash/build
@@ -0,0 +1,11 @@
+#!/bin/sh -e
+
+export CFLAGS="$CFLAGS -static"
+
+./configure \
+ --prefix=/usr
+
+make
+make DESTDIR="$1" install
+
+ln -s dash "$1/usr/bin/sh"