File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -277,7 +277,8 @@ function build_ncurses() {
277277 >&2 fancy_title " Building libncursesw for $target_arch "
278278
279279 ../configure --enable-static " CC=$CC " " CXX=$CXX " " --host=$HOST " \
280- " CFLAGS=$CFLAGS " " CXXFLAGS=$CXXFLAGS " --prefix=" $ncurses_install_dir " " --enable-widec" 1>&2
280+ " CFLAGS=$CFLAGS " " CXXFLAGS=$CXXFLAGS " " --enable-widec" \
281+ --prefix=" $ncurses_install_dir " --with-default-terminfo-dir=" /usr/share/terminfo" 1>&2
281282 if [[ $? -ne 0 ]]; then
282283 return 1
283284 fi
@@ -287,7 +288,9 @@ function build_ncurses() {
287288 return 1
288289 fi
289290
290- make -j$( nproc) install 1>&2
291+ # Install the include & library dirs, but not the terminfo database.
292+ # The user is responsible for supplying the terminal database.
293+ make -j$( nproc) install.includes install.libs 1>&2
291294 if [[ $? -ne 0 ]]; then
292295 return 1
293296 fi
You can’t perform that action at this time.
0 commit comments