poppler: fix cross

This commit is contained in:
Michael Gehring 2017-11-13 11:33:13 +00:00
parent 43fbbca012
commit 58ab2b1c20
1 changed files with 4 additions and 0 deletions

View File

@ -19,6 +19,10 @@ homepage="http://poppler.freedesktop.org"
distfiles="${homepage}/$pkgname-$version.tar.xz"
checksum=1266096343f5163c1a585124e9a6d44474e1345de5cdfe55dc7b47357bcfcda9
if [ "$CROSS_BUILD" ]; then
configure_args+=" -DTHREADS_PTHREAD_ARG=2"
fi
# Package build options
build_options="gir"
# Disable gir for cross builds.