node-yara-rs

git clone git://archive.git.mtrnord.blog/MTRNord/node-yara-rs.git
Log | Files | Refs | README | LICENSE

commit cb345850873394b28c68f120b4e79a851a2269b5
parent 14aa27ead53284dd8b8e0052b243d1376c8a99fc
Author: MTRNord <mtrnord1@gmail.com>
Date:   Sat, 30 Sep 2023 20:06:24 +0200

Less dirty dirty workaround

Diffstat:
M.github/workflows/CI.yml | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml @@ -61,7 +61,7 @@ jobs: target: aarch64-unknown-linux-gnu build: |- set -e && - YARA_LIBRARY_PATH="/nix/store/58z9vbdxygkfgiw41in3hmha7qbgjzhp-yara-4.3.1/lib/" YARA_INCLUDE_DIR="/nix/store/58z9vbdxygkfgiw41in3hmha7qbgjzhp-yara-4.3.1/include/" yarn build --target aarch64-unknown-linux-gnu && + YARA_LIBRARY_PATH=$(pkg-config --libs yara | sed 's/-L//g; s/ -lyara//g') YARA_INCLUDE_DIR=$(pkg-config --libs yara | sed 's/-L//g; s/ -lyara//g' | sed 's/lib/include/g') yarn build --target aarch64-unknown-linux-gnu && aarch64-unknown-linux-gnu-strip *.node name: stable - ${{ matrix.settings.target }} - node@18 runs-on: ${{ matrix.settings.host }}