blob: 6f189509d28861b8ef5ffc8e0bcb917ebdb6fae7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
pkg:setup
export CC="${PKG_TARG}-gcc"
export LD="${PKG_TARG}-ld"
export AR="${PKG_TARG}-ar"
export AS="${PKG_TARG}-as"
export LINK="${CC}"
export RANLIB="${PKG_TARG}-ranlib"
export SDKROOT="${PKG_ROOT}"
export CC_host="gcc"
export CXX_host="g++"
export LINK_host="gcc"
export AR_host="ar"
export GYP_DEFINES="target_arch=arm64 v8_target_arch=amr64 host_os=mac OS=ios"
./configure --without-snapshot --dest-os=ios --dest-cpu=arm64 --with-intl=none --shared-zlib --openssl-no-asm
make
|