aboutsummaryrefslogtreecommitdiff
path: root/extra/oksh/build
diff options
context:
space:
mode:
Diffstat (limited to 'extra/oksh/build')
-rwxr-xr-xextra/oksh/build10
1 files changed, 7 insertions, 3 deletions
diff --git a/extra/oksh/build b/extra/oksh/build
index fe6d6ef1..a1d4eda9 100755
--- a/extra/oksh/build
+++ b/extra/oksh/build
@@ -1,5 +1,9 @@
#!/bin/sh -e
-# We use a custom Makefile, instead of running ./configure
-make
-make DESTDIR="$1" install
+./configure \
+ --prefix=/usr \
+ --enable-static \
+ --enable-sh
+
+make PROG=ksh
+make PROG=ksh DESTDIR="$1" install