修复arm64执行报错问题,重编

This commit is contained in:
谢炜 2023-10-19 18:37:37 +08:00
parent eeca8e6cb0
commit 16f7786048
1 changed files with 5 additions and 2 deletions

7
debian/rules vendored
View File

@ -214,8 +214,11 @@ endif
override_dh_auto_build-arch:
mkdir -p $(NODE_TEST_DIR)
mkdir -p deps/acorn/
ln -sTf $(shell nodepath acorn) deps/acorn/acorn
ln -sTf $(shell nodepath acorn-walk) deps/acorn/acorn-walk
# TODO: nodepath current not work on arm64, hardcode path
# ln -sTf $(shell nodepath acorn) deps/acorn/acorn
ln -sTf /usr/share/nodejs/acorn deps/acorn/acorn
# ln -sTf $(shell nodepath acorn-walk) deps/acorn/acorn-walk
ln -sTf /usr/share/nodejs/acorn-walk deps/acorn/acorn-walk
dh_auto_build
override_dh_auto_build-indep: