Skip to content

Commit

Permalink
Merge pull request #80 from tobil4sk/fix/make-LUA_LIBDIR
Browse files Browse the repository at this point in the history
[make] Remove broken -L flag
  • Loading branch information
FourierTransformer authored Jul 23, 2024
2 parents d28e1d5 + 4b2f030 commit 15ae810
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
3 changes: 1 addition & 2 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,13 +1,12 @@
SRC = src/luasimdjson.cpp src/simdjson.cpp
INCLUDE = -I$(LUA_INCDIR)
LIBS_PATH = -L$(LUA_LIBDIR)
LIBS = -lpthread
FLAGS = -std=c++11 -Wall $(LIBFLAG) $(CFLAGS)

all: simdjson.so

simdjson.so:
$(CXX) $(SRC) $(FLAGS) $(INCLUDE) $(LIBS_PATH) $(LIBS) -o $@
$(CXX) $(SRC) $(FLAGS) $(INCLUDE) $(LIBS) -o $@

clean:
rm *.so
Expand Down
1 change: 0 additions & 1 deletion lua-simdjson-0.0.2-1.rockspec
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ build = {
build_variables = {
CFLAGS="$(CFLAGS)",
LIBFLAG="$(LIBFLAG)",
LUA_LIBDIR="$(LUA_LIBDIR)",
LUA_BINDIR="$(LUA_BINDIR)",
LUA_INCDIR="$(LUA_INCDIR)",
LUA="$(LUA)",
Expand Down

0 comments on commit 15ae810

Please sign in to comment.