From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jason at zx2c4.com (Jason A. Donenfeld) Date: Mon, 13 Jan 2014 05:26:46 +0100 Subject: [PATCH] build system: switch to luajit instead of lua Message-ID: <1389587206-27383-1-git-send-email-Jason@zx2c4.com> This is almost entirely the wrong way to be doing things. If somebody wants to cleanup this patch and the lua side of the build system, that would be quite nice. Signed-off-by: Jason A. Donenfeld --- cgit.mk | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/cgit.mk b/cgit.mk index 71bbe8b..1092113 100644 --- a/cgit.mk +++ b/cgit.mk @@ -28,7 +28,8 @@ endif ifdef NO_LUA CFLAGS += -DNO_LUA else - CGIT_LIBS += -llua + CGIT_LIBS += $(shell pkg-config --libs luajit) + CFLAGS += $(shell pkg-config --cflags luajit) endif CGIT_LIBS += -ldl -- 1.8.5.2