[Scummvm-git-logs] scummvm master -> 954cb53ee159acdda9c61d9b763f327fad8dcd9a
digitall
noreply at scummvm.org
Sun May 1 12:59:25 UTC 2022
This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .
Summary:
954cb53ee1 CONFIGURE: Avoid "file has no symbols" noise from ranlib on macOS
Commit: 954cb53ee159acdda9c61d9b763f327fad8dcd9a
https://github.com/scummvm/scummvm/commit/954cb53ee159acdda9c61d9b763f327fad8dcd9a
Author: Donovan Watteau (contrib at dwatteau.fr)
Date: 2022-05-01T13:59:22+01:00
Commit Message:
CONFIGURE: Avoid "file has no symbols" noise from ranlib on macOS
Changed paths:
configure
diff --git a/configure b/configure
index d2dc502b84c..30f4995e37d 100755
--- a/configure
+++ b/configure
@@ -2814,6 +2814,17 @@ EOF
fi
fi
+ #Â Avoid "file has no symbols" noise from ranlib, if it's new enough
+ ranlib_version=`$_ranlib -V 2>/dev/null`
+ if test -n "$ranlib_version" ; then
+ ranlib_version="`echo "${ranlib_version}" | sed -ne 's/.*cctools-\([0-9]\{1,\}\).*/\1/gp'`"
+ if test -n "$ranlib_version" && test "$ranlib_version" -ge 862 ; then
+ append_var _ranlib "-no_warning_for_no_symbols"
+ # Also tell ar not to do its own calls to ranlib
+ append_var _ar "-S"
+ fi
+ fi
+
# Use pandoc to generate README and NEWS file for the bundle
# Also default to HTML rather than plain text as it gives a nicer
# formating, especially for the README. We could consider using RTF
More information about the Scummvm-git-logs
mailing list