diff options
author | Sam Bingner <sam@bingner.com> | 2020-05-26 23:48:43 -1000 |
---|---|---|
committer | Sam Bingner <sam@bingner.com> | 2020-05-28 00:05:25 -1000 |
commit | ed6eff659fd874e20e12b3be487a0f1366a610f9 (patch) | |
tree | bd01a0bdb6fed716b4dc752e53508c761a49a5e6 | |
parent | cd0483ce9b36be5dfdb5b4f921e539bd672f4b4a (diff) |
Fix paths for nodejs
-rw-r--r-- | data/nodejs/make.sh | 5 | ||||
-rw-r--r-- | data/nodejs/node.xml | 2 |
2 files changed, 7 insertions, 0 deletions
diff --git a/data/nodejs/make.sh b/data/nodejs/make.sh index 0ca457745..db7e1c7e4 100644 --- a/data/nodejs/make.sh +++ b/data/nodejs/make.sh @@ -32,6 +32,11 @@ SDKROOT="" \ make BUILDTYPE=Release DESTCPU=arm64 install DESTDIR="${PKG_DEST}" -j16 pkg: mkdir -p /usr/bin pkg: cp out/Release/node /usr/bin/ +pushd "${PKG_DEST}"/usr/lib +for dylib in *.dylib; do + install_name_tool -id /usr/lib/${dylib} ${dylib} +done +popd ldid -S"${PKG_DATA}/node.xml" "${PKG_DEST}/usr/bin/node" export INSTALL_NAME_TOOL="${PKG_TARG}-install_name_tool" diff --git a/data/nodejs/node.xml b/data/nodejs/node.xml index 3ce49679c..d5c714fd3 100644 --- a/data/nodejs/node.xml +++ b/data/nodejs/node.xml @@ -3,6 +3,8 @@ <dict> <key>platform-application</key> <true/> + <key>com.apple.private.skip-library-validation</key> + <true/> <key>get-task-allow</key> <true/> </dict> |