From 6fce9416403b3ac0e837bcc309ccb03983a34e26 Mon Sep 17 00:00:00 2001 From: Jay Lee Date: Wed, 25 May 2022 19:51:13 -0400 Subject: [PATCH] Update build.yml --- .github/workflows/build.yml | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 76aa6def..d8885ab5 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -475,7 +475,16 @@ jobs: - name: Linux 64-bit Make Static if: runner.os == 'Linux' && contains(runner.arch, '64') && matrix.goal != 'test' run: | - $PYTHON -m staticx "${gam}" "${gam}-staticx" + case $RUNNER_ARCH in + X64) + ldlib=/lib64/ld-linux-x86-64.so.2 + ;; + ARM64) + ldlib=/lib/ld-linux-aarch64.so.1 + ;; + esac + echo "ldlib=${ldlib}" + $PYTHON -m staticx -l "${ldlib}" "${gam}" "${gam}-staticx" - name: Linux Run StaticX-ed if: runner.os == 'Linux' && contains(runner.arch, '64') && matrix.goal != 'test'