evolution-data-server: cross gen. iconv-detect.h
This commit is contained in:
parent
40b21a3277
commit
fcbf4a8c96
1 changed files with 3 additions and 4 deletions
|
@ -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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue