]> git.pld-linux.org Git - packages/neovim.git/commitdiff
explicitly set LUA_INCLUDE_DIR for pure lua build auto/th/neovim-0.7.0-1
authorJan Palus <atler@pld-linux.org>
Tue, 3 May 2022 18:21:01 +0000 (20:21 +0200)
committerJan Palus <atler@pld-linux.org>
Tue, 3 May 2022 18:21:40 +0000 (20:21 +0200)
for whatever reason cmake detection logic searches for lua versions
higher than 5.1 first even though neovim will likely never support
anything but lua 5.1

neovim.spec

index f8182242cad8617fea33c3b2d44d6893c3822f07..a3c4a0b45297012ae9a2a07f22bb1c424270cb8c 100644 (file)
@@ -88,6 +88,7 @@ parts of Vim, without compromise, and more.
 %cmake -B build \
        -DPREFER_LUA=%{!?with_prefer_lua:OFF}%{?with_prefer_lua:ON} \
        -DLUA_PRG=%{!?with_prefer_lua:/usr/bin/luajit}%{?with_prefer_lua:/usr/bin/lua5.1} \
+       -DLUA_INCLUDE_DIR=/usr/include/lua5.1 \
        -DUSE_BUNDLED=OFF \
        -DENABLE_JEMALLOC=ON \
        -DLIBLUV_INCLUDE_DIR=%{luv_includedir} \
This page took 0.120355 seconds and 4 git commands to generate.