projects
/
onyx.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f23c5e8
)
fixed: package manager on MacOS
author
Brendan Hansen
<brendan.f.hansen@gmail.com>
Sun, 19 Nov 2023 17:59:46 +0000
(11:59 -0600)
committer
Brendan Hansen
<brendan.f.hansen@gmail.com>
Sun, 19 Nov 2023 17:59:46 +0000
(11:59 -0600)
scripts/onyx-pkg.onyx
patch
|
blob
|
history
diff --git
a/scripts/onyx-pkg.onyx
b/scripts/onyx-pkg.onyx
index bbfc753de7def759ffd64177c0a99545c6cb872a..0fbb05a940262a18cdd1db46f62c71afebf591d6 100644
(file)
--- 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 {