We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6d9a7d1 commit ea8d54eCopy full SHA for ea8d54e
2 files changed
Makefile
@@ -1,9 +1,12 @@
1
SRC = src/luasimdjson.cpp src/simdjson.cpp
2
INCLUDE = -I$(LUA_INCDIR)
3
-LIBS_PATH = -L$(LUA_LIBDIR)
4
LIBS = -lpthread
5
FLAGS = -std=c++11 -Wall $(LIBFLAG) $(CFLAGS)
6
+ifdef LUA_LIBDIR
7
+FLAGS += $(LUA_LIBDIR)/$(LUALIB)
8
+endif
9
+
10
ifeq ($(OS),Windows_NT)
11
LIBEXT = dll
12
else
lua-simdjson-0.0.2-1.rockspec
@@ -32,4 +32,12 @@ build = {
32
INST_LUADIR="$(LUADIR)",
33
INST_CONFDIR="$(CONFDIR)",
34
},
35
+ platforms = {
36
+ windows = {
37
+ build_variables = {
38
+ LUA_LIBDIR="$(LUA_LIBDIR)",
39
+ LUALIB="$(LUALIB)",
40
+ }
41
42
43
}
0 commit comments