From aaa00a74c8cd2afdd8205f6f0beecd1f94caafee Mon Sep 17 00:00:00 2001 From: Jonathan Buchanan Date: Mon, 18 Jul 2022 23:59:46 -0400 Subject: Build with debug symbols and strip them from release binaries --- taler-ios-build/x64 | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'taler-ios-build/x64') diff --git a/taler-ios-build/x64 b/taler-ios-build/x64 index 956ff14d4c..4d5f982983 100755 --- a/taler-ios-build/x64 +++ b/taler-ios-build/x64 @@ -16,3 +16,9 @@ cd $scriptdir cp ../tools/gyp/pylib/gyp/mac_tool.py ../out-x64/gyp-mac-tool ./build-ios-node x64 + +# Strip debug symbols from release binaries. +for i in ../out-x64/Release/*.a; do + [ -f "$i" ] || break + strip -S $i +done -- cgit v1.2.3