shithub: choc

Download patch

ref: 560cdc3e4572cc84d493c5450092b6ce1694bd89
parent: 0a7d77c2a7eda5c31896ca49ed293b58b7b7b38b
author: Simon Howard <[email protected]>
date: Sun Sep 30 19:34:52 EDT 2018

configure: add AM_PROG_AR macro.

Some platforms (eg. Emscripten) have their own version of the ar tool,
so it is important to pick one that matches the target architecture.
Without this macro we always use the default system-installed version
of ar.

--- a/configure.ac
+++ b/configure.ac
@@ -15,6 +15,7 @@
 
 orig_CFLAGS="$CFLAGS"
 
+AM_PROG_AR
 AC_PROG_CC
 AC_PROG_RANLIB
 AC_CHECK_PROG(HAVE_PYTHON, python, true, false)