commit b82929a3c7be0866f8d6faf2103e2deaa0067e11
parent 290435d0710c8fa50f2bd8c3576e66cdf8f62965
Author: Michael Savage <mikejsavage@gmail.com>
Date: Wed, 11 Dec 2013 19:47:13 +0000
Fix luarocks build issue
Diffstat:
1 file changed, 4 insertions(+), 0 deletions(-)
diff --git a/Makefile b/Makefile
@@ -8,6 +8,10 @@ CFLAGS = -O2 -shared -fPIC -std=c11 -D_GNU_SOURCE -Wall -Wextra -Wno-nonnull -Ww
BCRYPT_OBJECTS = lib/bcrypt/crypt_blowfish.o lib/bcrypt/x86.o lib/bcrypt/crypt_gensalt.o lib/bcrypt/wrapper.o
+ifdef LUA_INCDIR
+ CFLAGS += -I$(LUA_INCDIR)
+endif
+
.PHONY: debug test clean
all: $(TARGET)