Merge pull request #4452 from CvH/10.0/samba-icu

samba: disable automatic icu pickup
This commit is contained in:
Jernej Škrabec 2020-06-28 21:52:45 +02:00 committed by GitHub
commit a59c70f4d0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -115,6 +115,13 @@ configure_target() {
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() {
./buildtools/bin/waf build ${PKG_WAF_VERBOSE} --targets=$PKG_SAMBA_TARGET -j$CONCURRENCY_MAKE_LEVEL
}