From 76af0434607aa2d39b01a385934c1444ce7c471d Mon Sep 17 00:00:00 2001 From: kojix2 <2xijok@gmail.com> Date: Mon, 5 Aug 2024 15:18:10 +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 bebd0ef..ec2a2c8 100755 --- a/test/test.sh +++ b/test/test.sh @@ -2,6 +2,8 @@ # Add missing import export LD_LIBRARY_PATH="../target/debug" +# MacOS +export DYLD_LIBRARY_PATH="../target/debug" cc test.c -L ../target/debug/ -ltiktoken_c -o test cc version.c -L ../target/debug/ -ltiktoken_c -o version