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
1 changed files with 3 additions and 4 deletions

View File

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