Merge pull request #61 from ValKmjolnir/develop

🐛 fix package error
This commit is contained in:
ValK 2025-01-11 21:32:42 +08:00 committed by GitHub
commit 8435ac5b63
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 5 additions and 1 deletions

View File

@ -30,8 +30,12 @@ if not os.path.exists(nasal_module_directory):
dynamic_library_suffix = ""
if platform.system()=="Windows":
dynamic_library_suffix = ".dll"
else:
elif platform.system()=="Linux":
dynamic_library_suffix = ".so"
elif platform.system()=="Darwin":
dynamic_library_suffix = ".dylib"
else:
print("pack binaries failed: unsupported platform")
nasal_modules = []
for m in ["libfib", "libkey", "libmat", "libnasock"]: