packages/lang/lua/luajit
Josef Schlehofer 2a98220abc luajit: conflict with luajit2
luajit and luajit2 both install /usr/lib/libluajit-5.1.so and
/usr/lib/libluajit-5.1.so.2. luajit2 provides luajit, so apk never
installs both, but Kconfig lets both be selected, and the image then
silently gets only luajit2.

Declare the conflict on luajit. dnsdist, knot-resolver and snort3
depend on luajit, and Kconfig selects it for them depending on luajit2,
so a conflict on luajit2 creates a Kconfig dependency cycle.

Checked with defconfig: luajit drops to m when luajit2 or
nginx-mod-lua-resty-lrucache is selected.

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2026-10-31 06:12:52 +01:00
..
patches
…
Makefile luajit: conflict with luajit2 2026-10-31 06:12:52 +01:00