aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorubq323 <ubq323@ubq323.website>2023-03-20 01:07:38 +0000
committerthe lemons <citrons@mondecitronne.com>2023-03-20 22:56:34 -0500
commit5bbf9ed81eeed87b44edffa15e3310b17918a7a7 (patch)
tree9f9e4854e416902022b79f1eda16eeb765f92e34
parent0d050815788bf1dfdac1bc417a801f69684079c8 (diff)
make luajit support work, finally
after all that, it was only one line of makefile that needed changing, somehow
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 805c98f..8bf970a 100644
--- a/Makefile
+++ b/Makefile
@@ -6,7 +6,7 @@ CFLAGS = -DLUA_VER=$(LUA_VER_MAJOR)$(LUA_VER_MINOR) -std=c99 -Wall -O2 -fPIC -I/
LFLAGS = -shared -llmdb
lmdb.so: lmdb.o
- $(LD) $(LFLAGS) -o $@ $<
+ $(CC) -o $@ $< $(LFLAGS)
lmdb.o: lmdb.c
$(CC) $(CFLAGS) -c $< -o $@