summaryrefslogtreecommitdiff
path: root/package/samba4
diff options
context:
space:
mode:
authorGustavo Zacarias <gustavo@zacarias.com.ar>2015-03-06 07:42:48 -0300
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2015-03-06 12:38:45 +0100
commite55cddfe9e48193fc0d4b831e1e2c09b3937237e (patch)
treee78d25167ddce9995eee22cc30cf21099b98a7ed /package/samba4
parent123e8afbaa75c1935339402d78409b33d1478264 (diff)
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 <gustavo@zacarias.com.ar> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/samba4')
-rw-r--r--package/samba4/samba4.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/package/samba4/samba4.mk b/package/samba4/samba4.mk
index e4c9ef254..527d584f1 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