summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lua.morph3
1 files changed, 2 insertions, 1 deletions
diff --git a/lua.morph b/lua.morph
index 06ba749..4f88b95 100644
--- a/lua.morph
+++ b/lua.morph
@@ -2,7 +2,8 @@
"name": "lua",
"kind": "chunk",
"configure-commands": [
- "sed -e 's/defined(LUA_USE_READLINE)/0/g' src/luaconf.h.orig >src/luaconf.h"
+ "sed -e 's/defined(LUA_USE_READLINE)/0/g' src/luaconf.h.orig >src/luaconf.h",
+ "sed -i.orig -e '/^linux:/{n;s/-lreadline//g;s/-lhistory//g;s/-lncurses//g}' src/Makefile"
],
"build-commands": [
"make PLAT=linux INSTALL_TOP=\"$PREFIX\""