summaryrefslogtreecommitdiff
path: root/configure.in
diff options
context:
space:
mode:
authorYann Ylavic <ylavic@apache.org>2021-03-11 17:25:41 +0000
committerYann Ylavic <ylavic@apache.org>2021-03-11 17:25:41 +0000
commit7261729cc2d7e74a4c263a120199bcac57fa1f1e (patch)
treec1f7174de2623f599334512b693798fcd4492f72 /configure.in
parent7ac989b2a8562710cc5913992c6b273ee2b627d4 (diff)
downloadapr-7261729cc2d7e74a4c263a120199bcac57fa1f1e.tar.gz
Follow up to r1887060: fix compilation on BEOS.
poffset is undefined there, by inspection (no BEOS at hand..). git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@1887500 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in3
1 files changed, 3 insertions, 0 deletions
diff --git a/configure.in b/configure.in
index 2d586f4c8..c734f2e53 100644
--- a/configure.in
+++ b/configure.in
@@ -327,6 +327,9 @@ case $host in
;;
esac
+dnl Libtool has been broken for decades, incorrectly passing 'cru' to 'ar'
+AR_FLAGS=${AR_FLAGS:-cr}
+
AC_SUBST(lt_compile)
AC_SUBST(link)
AC_SUBST(so_ext)