evolution-data-server: cross gen. iconv-detect.h

This commit is contained in:
Jürgen Buchmüller 2015-10-17 01:15:35 +02:00
parent 40b21a3277
commit fcbf4a8c96

View file

@ -28,14 +28,13 @@ else
fi fi
pre_configure() { pre_configure() {
case "$XBPS_TARGET_MACHINE" in if [ "$CROSS_BUILD" ]; then
*-musl) # Create iconv-detect.h for musl libc # Create iconv-detect.h for cross builds
echo '/* This is an auto-generated header, DO NOT EDIT! */' > iconv-detect.h echo '/* This is an auto-generated header, DO NOT EDIT! */' > iconv-detect.h
echo >>iconv-detect.h echo >>iconv-detect.h
echo '#define ICONV_ISO_D_FORMAT "iso-%d-%d"' >>iconv-detect.h echo '#define ICONV_ISO_D_FORMAT "iso-%d-%d"' >>iconv-detect.h
echo '#define ICONV_ISO_S_FORMAT "iso-%d-%s"' >>iconv-detect.h echo '#define ICONV_ISO_S_FORMAT "iso-%d-%s"' >>iconv-detect.h
;; fi
esac
} }
post_install() { post_install() {
# Fix broken pkg-config # Fix broken pkg-config