Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/flathub/shared-modules.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lua5.3/lua-5.3.5.json5
1 files changed, 3 insertions, 2 deletions
diff --git a/lua5.3/lua-5.3.5.json b/lua5.3/lua-5.3.5.json
index 3d838ec..c789fd6 100644
--- a/lua5.3/lua-5.3.5.json
+++ b/lua5.3/lua-5.3.5.json
@@ -2,7 +2,7 @@
"name": "lua-5.3",
"buildsystem": "simple",
"build-commands": [
- "make -j $FLATPAK_BUILDER_N_JOBS CFLAGS=\"$CFLAGS -fPIC -DLUA_COMPAT_5_2 -DLUA_COMPAT_5_1 -DLUA_USE_LINUX\" linux",
+ "make -j $FLATPAK_BUILDER_N_JOBS CFLAGS=\"$CFLAGS -fPIC -DLUA_USE_LINUX\" linux",
"make TO_LIB=liblua.so.5.3.5 INSTALL_TOP=$FLATPAK_DEST install",
"ln -sf liblua.so.5.3.5 $FLATPAK_DEST/lib/liblua.so",
"ln -sf liblua.so.5.3.5 $FLATPAK_DEST/lib/liblua.so.5.3",
@@ -32,7 +32,8 @@
"commands": [
"sed -i \"s|/usr/local/|$FLATPAK_DEST/|;s|LUA_IDSIZE 60|LUA_IDSIZE 512|\" src/luaconf.h",
"# Lua 5.3.5 has wrong release version in its Makefile. Fix it.",
- "sed 's/^R= \$V.4/R= \$V.5/' -i Makefile"
+ "sed 's/^R= \$V.4/R= \$V.5/' -i Makefile",
+ "sed -i '12 a\\\\n#define LUA_COMPAT_5_1\\n#define LUA_COMPAT_5_2' src/luaconf.h"
]
}
],