samba: disable automatic icu pickup

if you build icu before samba, icu gets used at buildtime and fails
This commit is contained in:
CvH 2020-06-24 23:16:06 +02:00
parent 0087475d66
commit f89b9153d8

View File

@ -115,6 +115,13 @@ configure_target() {
PYTHON=${TOOLCHAIN}/bin/python3 ./configure $PKG_CONFIGURE_OPTS PYTHON=${TOOLCHAIN}/bin/python3 ./configure $PKG_CONFIGURE_OPTS
} }
# disable icu, there is no buildswitch to disable
pre_make_target() {
sed -e '/#define HAVE_ICU_I18N 1/d' \
-e '/#define HAVE_LIBICUI.* 1/d' \
-i bin/default/include/config.h
}
make_target() { make_target() {
./buildtools/bin/waf build ${PKG_WAF_VERBOSE} --targets=$PKG_SAMBA_TARGET -j$CONCURRENCY_MAKE_LEVEL ./buildtools/bin/waf build ${PKG_WAF_VERBOSE} --targets=$PKG_SAMBA_TARGET -j$CONCURRENCY_MAKE_LEVEL
} }