we actually build a dylib on macos

This commit is contained in:
PXLKSR 2023-04-04 10:19:06 +02:00
parent aacc8b6872
commit 977efba905
1 changed files with 1 additions and 1 deletions

View File

@ -188,7 +188,7 @@ def load_rwkv_shared_library() -> RWKVSharedLibrary:
if 'win32' in sys.platform or 'cygwin' in sys.platform:
file_name = 'rwkv.dll'
elif 'darwin' in sys.platform:
file_name = 'rwkv.o'
file_name = 'librwkv.dylib'
else:
file_name = 'librwkv.so'