summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorJake Petroules <jake.petroules@theqtcompany.com>2016-04-06 20:37:44 -0700
committerJake Petroules <jake.petroules@qt.io>2016-04-14 21:28:54 +0000
commitab599a39313c22fd14cc5466cea5c61bbcdbba8e (patch)
tree4726e48dfc99f808e289e7e9d6e0b592599a5aec /configure
parent62ad5abe0637abc742f10cc31a3faf0a2353ab2f (diff)
qmake: Add support for separate debug info on Apple platforms.
This makes the -separate-debug-info configure optional functional, which generates dSYM debug info bundles for Qt libraries on Apple platforms. Task-number: QTBUG-37952 Done-with: Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com> Change-Id: Ia247674740bf450130a15db926df07fa9007e2ca Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com>
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure b/configure
index 1cafa98c3b..3e97c98e1a 100755
--- a/configure
+++ b/configure
@@ -4362,7 +4362,7 @@ fi
#-------------------------------------------------------------------------------
# Detect objcopy support
-if [ "$CFG_SEPARATE_DEBUG_INFO" = "yes" ]; then
+if [ "$XPLATFORM_MAC" = "no" ] && [ "$CFG_SEPARATE_DEBUG_INFO" = "yes" ]; then
if ! compileTest unix/objcopy "objcopy"; then
echo "ERROR: -separate-debug-info was requested but this binutils does not support it."
echo "Re-run configure with -v for more information"