mirror of
https://github.com/darlinghq/darling-JavaScriptCore.git
synced 2024-12-04 18:16:39 +00:00
15 lines
378 B
Bash
Executable File
15 lines
378 B
Bash
Executable File
#!/bin/sh
|
|
|
|
set -e
|
|
|
|
ARGS=("$@")
|
|
|
|
mkdir -p "${BUILT_PRODUCTS_DIR}/DerivedSources/JavaScriptCore"
|
|
cd "${BUILT_PRODUCTS_DIR}/DerivedSources/JavaScriptCore"
|
|
|
|
/bin/ln -sfh "${SRCROOT}" JavaScriptCore
|
|
export JavaScriptCore="JavaScriptCore"
|
|
export BUILT_PRODUCTS_DIR="../.."
|
|
|
|
make --no-builtin-rules -f "JavaScriptCore/DerivedSources.make" -j `/usr/sbin/sysctl -n hw.ncpu` "${ARGS[@]}"
|