diff options
author | MCApollo <34170230+MCApollo@users.noreply.github.com> | 2019-05-28 01:07:05 +0000 |
---|---|---|
committer | MCApollo <34170230+MCApollo@users.noreply.github.com> | 2019-05-28 01:07:05 +0000 |
commit | 76428fb58ef1a05dbf3ca528d4d72a902816893b (patch) | |
tree | 151f81e5190eb2ef847f0ba56ca5339f92630ca9 /data/node/make.sh | |
parent | 8caa3226f25510cdd1f93420c7ff6d5ac6ad0eb2 (diff) |
Release candidate
Diffstat (limited to 'data/node/make.sh')
-rw-r--r-- | data/node/make.sh | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/data/node/make.sh b/data/node/make.sh index da11ae85a..a7c375eaf 100644 --- a/data/node/make.sh +++ b/data/node/make.sh @@ -24,8 +24,13 @@ export LDFLAGS_target="${LDFLAGS}" GYP_CROSSCOMPILE=1 \ GYP_DEFINES="v8_enable_inspector=1 target_arch=arm64 v8_target_arch=arm64 host_os=$(uname -s | sed -e 's/Linux/linux/;s/Darwin/mac/') node_v8_options='--jitless'" \ -./configure --prefix="${PKG_TAPF}" --without-snapshot --cross-compiling --dest-os=ios --dest-cpu=arm64 --without-intl --without-npm --shared-zlib --shared-cares --shared-openssl --shared +./configure --prefix="${PKG_TAPF}" --without-snapshot --cross-compiling --dest-os=ios --dest-cpu=arm64 --without-intl --shared-zlib --shared-cares --shared-openssl --shared -# TODO: Fix tool/install.py and the Makefile -make BUILDTYPE=Release -j2 # Don't use pkg:make, CC_host gets overwritten -make BUILDTYPE=Release install DESTDIR="${PKG_DEST}" +# Don't use pkg:make, CC_host gets overwritten +make BUILDTYPE=Release DESTCPU=arm64 install DESTDIR="${PKG_DEST}" + +# TODO: Fix tool/install.py and the Makefile +if [[ ! -x "${PKG_TAPF}"/bin/node ]]; then + pkg: mkdir -p "${PKG_TAPF}"/bin + cp out/Release/node "${PKG_DEST}"/"${PKG_TAPF}"/bin +fi |