Skip to content

Commit

Permalink
update patch
Browse files Browse the repository at this point in the history
  • Loading branch information
mbekkomo committed Apr 10, 2024
1 parent a2fb1ac commit c20eeb2
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion packages/luvi/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ termux_step_make() {
--yes \
--verbose \
--diagnosis \
-m release \
-m releasedbg \
--sdk="${TERMUX_STANDALONE_TOOLCHAIN}" \
--cross="${TERMUX_HOST_PLATFORM}-" \
--cflags="${CFLAGS}" \
Expand Down
7 changes: 4 additions & 3 deletions packages/luvi/xmake.lua.patch
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
--- luvi.a/xmake.lua 1970-01-01 08:00:00.000000000 +0800
+++ luvi.b/xmake.lua 2024-04-09 19:36:37.519415017 +0800
@@ -0,0 +1,44 @@
+add_rules("mode.debug", "mode.release")
+++ luvi.b/xmake.lua 2024-04-10 23:41:03.529239885 +0800
@@ -0,0 +1,45 @@
+add_rules("mode.releasedbg")
+add_requires("luajit", { alias = "luajit", system = true })
+add_requires("pcre", { alias = "pcre", system = true })
+add_requires("openssl3", { alias = "openssl", system = true })
Expand All @@ -21,6 +21,7 @@
+ "./deps/lua-openssl/deps/auxiliar",
+ "./deps/lua-openssl/deps/lua-compat")
+ add_defines("LUA_LIB", "WITH_LPEG", "WITH_PCRE", "WITH_OPENSSL", "LUVI_VERSION=\"@VERSION@\"")
+ add_syslinks("c")
+ add_links("rt", "luv")
+ add_files("./src/main.c", "./src/luvi_compat.c")
+
Expand Down

0 comments on commit c20eeb2

Please sign in to comment.