diff --git a/package/tmux/tmux.mk b/package/tmux/tmux.mk index 281b7d8ee6..b1c0af1a83 100644 --- a/package/tmux/tmux.mk +++ b/package/tmux/tmux.mk @@ -11,6 +11,13 @@ TMUX_LICENSE_FILES = COPYING TMUX_CPE_ID_VENDOR = tmux_project TMUX_DEPENDENCIES = libevent ncurses host-pkgconf +ifeq ($(BR2_PACKAGE_UTF8PROC),y) +TMUX_DEPENDENCIES += utf8proc +TMUX_CONF_OPTS += --enable-utf8proc +else +TMUX_CONF_OPTS += --disable-utf8proc +endif + # Add /usr/bin/tmux to /etc/shells otherwise some login tools like dropbear # can reject the user connection. See man shells. define TMUX_ADD_TMUX_TO_SHELLS