libxslt: large file support

This commit is contained in:
Đoàn Trần Công Danh 2023-05-12 18:54:34 +07:00
parent b83e12bf31
commit cb3e5d7b48
1 changed files with 2 additions and 1 deletions

View File

@ -1,7 +1,7 @@
# Template file for 'libxslt'
pkgname=libxslt
version=1.1.37
revision=2
revision=3
build_style=gnu-configure
configure_args="--disable-static --disable-dependency-tracking"
hostmakedepends="docbook-xml docbook-xsl libtool pkg-config python3"
@ -15,6 +15,7 @@ distfiles="${GNOME_SITE}/libxslt/${version%.*}/libxslt-${version}.tar.xz"
checksum=3a4b27dc8027ccd6146725950336f1ec520928f320f144eb5fa7990ae6123ab4
python_version=3
CFLAGS="-I$XBPS_CROSS_BASE/usr/include/python$py3_ver"
CFLAGS+=" -D_LARGE_FILE_SOURCE=1 -D_FILE_OFFSET_BITS=64"
if [ "$CROSS_BUILD" ]; then
hostmakedepends+=" libxslt"