aboutsummaryrefslogtreecommitdiff
path: root/src/Makefile
diff options
context:
space:
mode:
authormitchell <70453897+667e-11@users.noreply.github.com>2015-04-18 10:45:40 -0400
committermitchell <70453897+667e-11@users.noreply.github.com>2015-04-18 10:45:40 -0400
commit2ea71f33574a0235d9cdb31ccc17fc76493bdd47 (patch)
treef38cac680d906932a9247789cdacd6df6d438964 /src/Makefile
parenta65b51f92a80fcbc46f1f176ddcf6a37eefcca02 (diff)
downloadtextadept-2ea71f33574a0235d9cdb31ccc17fc76493bdd47.tar.gz
textadept-2ea71f33574a0235d9cdb31ccc17fc76493bdd47.zip
Fixed 'require' bug with lfs and utf8 in LuaJIT version.
Diffstat (limited to 'src/Makefile')
-rw-r--r--src/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/Makefile b/src/Makefile
index 09234c3b..f2b8c229 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -422,8 +422,9 @@ lua: lua.patch | $(lua_tgz)
lualibs: lua/src/lib/lpeg lua/src/lib/lfs lua/src/lib/lspawn
lua/src/lib/lpeg: | $(lpeg_tgz)
mkdir -p $@ && tar xzf $| -C $@ && mv $@/*/*.c $@/*/*.h $(dir $@)
-lua/src/lib/lfs: | $(lfs_zip)
+lua/src/lib/lfs: lfs.patch | $(lfs_zip)
mkdir -p $@ && unzip -d $@ $| && mv $@/*/src/*.c $@/*/src/*.h $(dir $@)
+ patch -d $(dir $@) -N -p1 < $<
lua/src/lib/lspawn: | $(lspawn_zip)
mkdir -p $@ && unzip -d $@ $| && mv $@/*/*.c $(dir $@)
lua/src/lib/lutf8lib.c: lutf8libjit.patch