aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoramy <[email protected]>2025-08-01 11:22:49 -0500
committerGitHub <[email protected]>2025-08-01 11:22:49 -0500
commit76641452ca62c308776edc03aee6b7e5e5886acf (patch)
tree740f6f356737098aa94ee2c8ac645aa46f509418
parent7e3d4f190235dbbdf62a1cfcfff367105f19df50 (diff)
parente65c35bfe7a9f00f42170e5a6c1bff58cbfe3f47 (diff)
Merge pull request #2 from Stilic/patch-1
Change install path to a standard one
-rw-r--r--makefile2
-rw-r--r--readme.md2
2 files changed, 2 insertions, 2 deletions
diff --git a/makefile b/makefile
index 0a07ae9..cd80dc8 100644
--- a/makefile
+++ b/makefile
@@ -14,7 +14,7 @@ LFLAGS := -lm -shared -lcrypto -lssl
LINKER := $(CC)
TARGET := lullaby.so
-INSTALL_DIR := /usr/lib64/lua/
+INSTALL_DIR := /usr/local/lib/lua/
SRCS := $(wildcard src/*.c) $(wildcard src/*/*.c)
OBJS := $(SRCS:.c=.o)
diff --git a/readme.md b/readme.md
index b862d38..f67d8d0 100644
--- a/readme.md
+++ b/readme.md
@@ -41,7 +41,7 @@ build with `make`, output is `./lullaby.so` or (win)`./lullaby.dll`
windows works through msys2, install `mingw-w64-x86_64-lua` then run `make CC=gcc`
-you can install with `doas make install` which will install lullaby.so into /usr/lib64/lua/5.X/
+you can install with `doas make install` which will install lullaby.so into /usr/local/lib/lua/5.X
lua version can be specified with `version=...`, similar to 5.1, 5.3, jit, the default it 5.4