From: Timo Sirainen Date: Fri, 17 Sep 2021 09:26:35 +0000 (+0300) Subject: lib-lua: Build test-dict-lua only with Lua 5.3+ X-Git-Tag: 2.3.17~117 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=dc21a1d7e897cf7038861d540b3864745e1860c3;p=thirdparty%2Fdovecot%2Fcore.git lib-lua: Build test-dict-lua only with Lua 5.3+ Fixes building with Lua 5.1 --- diff --git a/src/lib-lua/Makefile.am b/src/lib-lua/Makefile.am index 3d92c3194d..20ce3113f0 100644 --- a/src/lib-lua/Makefile.am +++ b/src/lib-lua/Makefile.am @@ -15,9 +15,12 @@ libdovecot_lua_la_SOURCES = \ dlua-table.c \ dlua-thread.c +test_programs = test-lua + LIBDICT_LUA= if DLUA_WITH_YIELDS LIBDICT_LUA += ../lib-dict/libdict_lua.la +test_programs += test-dict-lua endif # Note: the only things this lib should depend on are libdovecot and lua. @@ -39,8 +42,6 @@ headers = \ pkginc_libdir=$(pkgincludedir) pkginc_lib_HEADERS = $(headers) -test_programs = test-lua test-dict-lua - noinst_PROGRAMS = $(test_programs) test_libs =\