summaryrefslogtreecommitdiff
path: root/taler-ios-build/x64
blob: 4d5f982983d319ac82d68c5405e25437e7e3f620 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#!/usr/bin/env bash

set -eu -o pipefail

scriptdir="$(cd "$(dirname "${BASH_SOURCE[0]}")" >/dev/null 2>&1 && pwd)"
cd $scriptdir

############
# Build Node
############

export DEST_CPU_ARCH=x64

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