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
path: root/lua5.3
diff options
context:
space:
mode:
authorUnrud <unrud@outlook.com>2020-06-15 19:04:26 +0300
committerPatrick <tingping@tingping.se>2020-06-16 23:41:32 +0300
commit76ffe28ab02dc78531fa3d2063b64ae8a7439896 (patch)
treee6a7a99a403743e59e3da4de23175454657e3cad /lua5.3
parent90061ee559e3a497056a53a456a8fb2e52b40164 (diff)
lua5.3: Use symlinks for libraries
Diffstat (limited to 'lua5.3')
-rw-r--r--lua5.3/lua-5.3.5.json4
1 files changed, 3 insertions, 1 deletions
diff --git a/lua5.3/lua-5.3.5.json b/lua5.3/lua-5.3.5.json
index e2783aa..e580dcd 100644
--- a/lua5.3/lua-5.3.5.json
+++ b/lua5.3/lua-5.3.5.json
@@ -3,7 +3,9 @@
"buildsystem": "simple",
"build-commands": [
"make CFLAGS=\"$CFLAGS -fPIC -DLUA_COMPAT_5_2 -DLUA_COMPAT_5_1 -DLUA_USE_DLOPEN\" linux",
- "make TO_LIB='liblua.so liblua.so.5.3 liblua.so.5.3.5' INSTALL_TOP=${FLATPAK_DEST} install",
+ "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",
"make INSTALL_TOP=${FLATPAK_DEST} pc > lua.pc",
"cat lua.pc.in >> lua.pc",
"install -Dm644 lua.pc $FLATPAK_DEST/lib/pkgconfig/lua.pc",