summaryrefslogtreecommitdiff
path: root/src/Makefile
diff options
context:
space:
mode:
authorFredrik Gustafsson <fredrigu@axis.com>2020-05-19 15:55:33 +0200
committerTimo Teräs <timo.teras@iki.fi>2020-05-19 17:03:25 +0300
commit4d69d123f595994380c3ed4a5906982b022ecde8 (patch)
tree321ee4e58a47a50391327d080d230f60c3430015 /src/Makefile
parentd0edeec8fb8fa5abee8b3065cea5e4882d0c51c4 (diff)
downloadapk-tools-4d69d123f595994380c3ed4a5906982b022ecde8.tar.gz
apk-tools-4d69d123f595994380c3ed4a5906982b022ecde8.tar.bz2
apk-tools-4d69d123f595994380c3ed4a5906982b022ecde8.tar.xz
apk-tools-4d69d123f595994380c3ed4a5906982b022ecde8.zip
fix logic to not compile lua module when it was not asked
fixes 12fdf6fc "allow building without help..."
Diffstat (limited to 'src/Makefile')
-rw-r--r--src/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Makefile b/src/Makefile
index 3bbd51e..606d2ff 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -45,7 +45,7 @@ install-libapk_a := $(INSTALLDIR) $(DESTDIR)$(LIBDIR) && \
apk-static-libs := $(libapk.a-libs) $(obj)/libapk.a
# Lua module
-ifneq ($(LUAAPK),)
+ifeq ($(LUAAPK),yes)
LUA_VERSION ?= 5.3
LUA_PC ?= lua$(LUA_VERSION)
LUA_LIBDIR ?= /usr/lib/lua/$(LUA_VERSION)