summaryrefslogtreecommitdiffstats
path: root/mkspecs/features/data/mac
diff options
context:
space:
mode:
authorTor Arne Vestbø <tor.arne.vestbo@qt.io>2018-11-30 15:28:13 +0100
committerTor Arne Vestbø <tor.arne.vestbo@qt.io>2018-12-03 20:13:13 +0000
commit1314d2688c6eab24d33e2a558403fa6e2482f849 (patch)
tree2e2f4d3cd771e7f48f095406bc79ab25bbf444bc /mkspecs/features/data/mac
parent521a85395da1a2728902816c072ec46bcb0ad380 (diff)
macOS: Fix Objective-C namespaceing with Xcode 10
Xcode 10 ships version 921.0.1 of cctools, which otool is part of. The defaults have changed in that version to no longer print verbosely (symbolically), which we relied on. We now request it explicitly. Change-Id: Ifbe0c97462b9f78cf128c820847eff9c72f17065 Reviewed-by: Timur Pocheptsov <timur.pocheptsov@qt.io> Reviewed-by: Tim Blechmann <tim@klingt.org>
Diffstat (limited to 'mkspecs/features/data/mac')
-rwxr-xr-xmkspecs/features/data/mac/objc_namespace.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/mkspecs/features/data/mac/objc_namespace.sh b/mkspecs/features/data/mac/objc_namespace.sh
index 6ac004fe2d..ceff2df324 100755
--- a/mkspecs/features/data/mac/objc_namespace.sh
+++ b/mkspecs/features/data/mac/objc_namespace.sh
@@ -146,7 +146,7 @@ inspect_binary() {
echo "found namespaced class names, updating class entries..."
fi
- classes=$(otool -o "$target" | grep class_ro_t)
+ classes=$(otool -o -v "$target" | grep class_ro_t)
while read -a class; do
address="$(sanitize_address ${class[1]})"