From 32d3abb40c7637306d85147ab157541f73439127 Mon Sep 17 00:00:00 2001 From: CLARATION Date: Mon, 6 Jul 2026 05:50:59 -0700 Subject: [PATCH] fix(build): enable widec --- CMakeLists.txt | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 2a6db68..69251a0 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -294,10 +294,13 @@ if(WITH_STATIC) URL https://ftp.gnu.org/pub/gnu/ncurses/ncurses-6.4.tar.gz CONFIGURE_COMMAND ${PKG_ENV} - sh -l /configure --prefix=${DEPS_PREFIX} ${IMD_AUTOTOOLS_ARGS} --disable-stripping --enable-overwrite + sh -l /configure --prefix=${DEPS_PREFIX} ${IMD_AUTOTOOLS_ARGS} --disable-stripping --enable-overwrite --enable-widec BUILD_COMMAND make -j BUILD_IN_SOURCE 1 - INSTALL_COMMAND make install + INSTALL_COMMAND + make install && + ln -sf ${DEPS_PREFIX}/lib/libncursesw.a ${DEPS_PREFIX}/lib/libncurses.a && + ln -sf ${DEPS_PREFIX}/lib/libtinfow.a ${DEPS_PREFIX}/lib/libtinfo.a ) endif()