Browse Source

patch to luanacha for static build

Jaromil 2 years ago
parent
commit
3a9df21e6a
1 changed files with 13 additions and 0 deletions
  1. 13 0
      build/luanacha_build.patch

+ 13 - 0
build/luanacha_build.patch

@@ -0,0 +1,13 @@
1
+diff --git a/src/luanacha.c b/src/luanacha.c
2
+index a8dc54b..3581754 100644
3
+--- a/src/luanacha.c
4
++++ b/src/luanacha.c
5
+@@ -440,7 +440,7 @@ static int ln_argon2i(lua_State *L) {
6
+ //------------------------------------------------------------
7
+ // lua library declaration
8
+ //
9
+-static const struct luaL_Reg luanachalib[] = {
10
++const struct luaL_Reg luanachalib[] = {
11
+ 	{"randombytes", ln_randombytes},
12
+ 	//
13
+ 	{"lock", ln_lock},