poppler: fix cross
This commit is contained in:
parent
43fbbca012
commit
58ab2b1c20
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue