From 5df67cb628fd7171b95dc2eb6cb09d538b708fc6 Mon Sep 17 00:00:00 2001 From: kojix2 <2xijok@gmail.com> Date: Mon, 5 Aug 2024 15:30:27 +0900 Subject: [PATCH] Fix test for macOS --- test/test.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test/test.sh b/test/test.sh index eb5906e..21a679c 100755 --- a/test/test.sh +++ b/test/test.sh @@ -2,6 +2,8 @@ # Add missing import export LD_LIBRARY_PATH="../target/release:../target/debug" +# MacOS +export DYLD_LIBRARY_PATH="../target/debug:../target/debug" # Compile the C test file gcc test_print_pretty.c -L ../target/release -L ../target/debug -lbat_c -o test_print_pretty