From d9041236954165844cab4bc2a139dbe6765fd19d Mon Sep 17 00:00:00 2001 From: ValKmjolnir Date: Sun, 17 Jul 2022 23:46:37 +0800 Subject: [PATCH] :bug: fix bug in test/module_test.nas --- test/module_test.nas | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/module_test.nas b/test/module_test.nas index 1668671..ea11ab7 100644 --- a/test/module_test.nas +++ b/test/module_test.nas @@ -3,7 +3,7 @@ var libfib=func(){ return { open:func(){ if(dd==nil){ - dd=dylib.dlopen("./module/libfib.so"); + dd=dylib.dlopen("./module/libfib."~(os.platform()=="windows"?"dll":"so")); fib=dylib.dlsym(dd,"fib"); qfib=dylib.dlsym(dd,"quick_fib"); }else{