From 62f5cb74b8cac436e02b1b9ca4553dfe276aabba Mon Sep 17 00:00:00 2001 From: Leah Neukirchen Date: Wed, 30 Aug 2017 14:29:53 +0200 Subject: [PATCH] liblouis: fix glibc cross. --- srcpkgs/liblouis/template | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/srcpkgs/liblouis/template b/srcpkgs/liblouis/template index 4278b311f8..5a408f49d1 100644 --- a/srcpkgs/liblouis/template +++ b/srcpkgs/liblouis/template @@ -16,6 +16,11 @@ distfiles="https://github.com/$pkgname/$pkgname/releases/download/v$version/$pkg checksum=c07d8232959bbe4f4a1bdc597a6aa228753526b47f2064bd119754da6cfd6f85 pycompile_module='louis' +case "$XBPS_TARGET_MACHINE" in + *-musl) ;; + *) configure_args+=" gl_cv_func_getopt_gnu=yes";; +esac + # See my commentary in patches/crosspython.patch # for justification of pre_build: pre_build() {