File tree Expand file tree Collapse file tree 1 file changed +10
-1
lines changed Expand file tree Collapse file tree 1 file changed +10
-1
lines changed Original file line number Diff line number Diff line change @@ -199,10 +199,19 @@ build() {
199199 make install || bail " Install failed"
200200
201201 elif [ " $FLAVOR " = neovim ]; then
202+ DEPS_CMAKE_FLAGS=" -DUSE_BUNDLED=OFF"
203+
204+ # Use bundled unibilium with older releases that data directly, and not
205+ # through unibi_var_from_num like it is required now.
206+ if ! grep -qF ' unibi_var_from_num' src/nvim/tui/tui.c; then
207+ DEPS_CMAKE_FLAGS=" $DEPS_CMAKE_FLAGS -DUSE_BUNDLED_UNIBILIUM=ON"
208+ fi
209+
210+ head_info=$( curl --retry 3 -SL " https://api.github.com/repos/$repo /git/refs/heads/$tag " )
202211 make CMAKE_BUILD_TYPE=RelWithDebInfo \
203212 CMAKE_EXTRA_FLAGS=" -DCMAKE_INSTALL_PREFIX=$INSTALL_PREFIX \
204213 -DENABLE_JEMALLOC=OFF" \
205- DEPS_CMAKE_FLAGS=" -DUSE_BUNDLED=OFF " \
214+ DEPS_CMAKE_FLAGS=" $DEPS_CMAKE_FLAGS " \
206215 || bail " Make failed"
207216
208217 versiondef_file=build/config/auto/versiondef.h
You can’t perform that action at this time.
0 commit comments