aboutsummaryrefslogtreecommitdiff
path: root/extra/readline/build
diff options
context:
space:
mode:
Diffstat (limited to 'extra/readline/build')
-rwxr-xr-xextra/readline/build13
1 files changed, 13 insertions, 0 deletions
diff --git a/extra/readline/build b/extra/readline/build
new file mode 100755
index 00000000..07ec8028
--- /dev/null
+++ b/extra/readline/build
@@ -0,0 +1,13 @@
+#!/bin/sh -e
+
+export CFLAGS="$CFLAGS -fPIC"
+
+for patch in readline80-00*; do
+ patch -p0 < "$patch"
+done
+
+./configure \
+ --prefix=/usr
+
+make SHLIB_LIBS=-lncurses
+make DESTDIR="$1" install