summaryrefslogtreecommitdiff
path: root/configure.in
diff options
context:
space:
mode:
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in5
1 files changed, 5 insertions, 0 deletions
diff --git a/configure.in b/configure.in
index 82cca6c2383..15347aabdb9 100644
--- a/configure.in
+++ b/configure.in
@@ -1146,6 +1146,7 @@ fi
extra_arflags_for_target=
extra_nmflags_for_target=
+extra_ranlibflags_for_target=
case "${target}" in
i[3456]86-*-netware*)
target_makefile_frag="config/mt-netware"
@@ -1163,6 +1164,10 @@ case "${target}" in
extra_arflags_for_target=" -X32_64"
extra_nmflags_for_target=" -B -X32_64"
;;
+ *-*-darwin*)
+ # ranlib from Darwin requires the -c flag to look at common symbols.
+ extra_ranlibflags_for_target=" -c"
+ ;;
mips*-*-pe | sh*-*-pe | *arm-wince-pe)
target_makefile_frag="config/mt-wince"
;;