From: Brendan Hansen Date: Sun, 19 Nov 2023 17:59:46 +0000 (-0600) Subject: fixed: package manager on MacOS X-Git-Url: https://git.brendanfh.com/?a=commitdiff_plain;h=9a903dd6fc8843e83b0cac3d8b3a3d135d433f24;p=onyx.git fixed: package manager on MacOS --- diff --git a/scripts/onyx-pkg.onyx b/scripts/onyx-pkg.onyx index bbfc753d..0fbb05a9 100644 --- a/scripts/onyx-pkg.onyx +++ b/scripts/onyx-pkg.onyx @@ -600,6 +600,9 @@ run_new_command :: (args: [] cstr) { #if runtime.compiler_os == .Linux { native_library_suffix :: ".so" } + #if runtime.compiler_os == .MacOS { + native_library_suffix :: ".dylib" + } #if runtime.compiler_os == .Windows { native_library_suffix :: ".dll" } @@ -886,7 +889,7 @@ Package :: struct { version: SemVer; } -#if runtime.compiler_os == .Linux { +#if runtime.compiler_os == .Linux || runtime.compiler_os == .MacOS { git_path :: "git" } #if runtime.compiler_os == .Windows {