From e55cddfe9e48193fc0d4b831e1e2c09b3937237e Mon Sep 17 00:00:00 2001 From: Gustavo Zacarias Date: Fri, 6 Mar 2015 07:42:48 -0300 Subject: [PATCH] samba4: specify ncurses-config When ncurses wide is enabled samba doesn't automatically find the appropiate ncurses-config script and finds the host variant (which is non-widec) which leaks improper library directories into the build. Signed-off-by: Gustavo Zacarias Signed-off-by: Thomas Petazzoni --- package/samba4/samba4.mk | 1 + 1 file changed, 1 insertion(+) diff --git a/package/samba4/samba4.mk b/package/samba4/samba4.mk index e4c9ef2549..527d584f17 100644 --- a/package/samba4/samba4.mk +++ b/package/samba4/samba4.mk @@ -64,6 +64,7 @@ SAMBA4_CONF_OPTS += --disable-gnutls endif ifeq ($(BR2_PACKAGE_NCURSES_TARGET_FORM)$(BR2_PACKAGE_NCURSES_TARGET_MENU)$(BR2_PACKAGE_NCURSES_TARGET_PANEL),yyy) +SAMBA4_CONF_ENV += NCURSES_CONFIG="$(STAGING_DIR)/usr/bin/$(NCURSES_CONFIG_SCRIPTS)" SAMBA4_DEPENDENCIES += ncurses else SAMBA4_CONF_OPTS += --without-regedit -- 2.30.2