Skip to content

Commit

Permalink
Resolve Windows and macOS build issues (hopefully).
Browse files Browse the repository at this point in the history
  • Loading branch information
dom96 committed Jul 6, 2022
1 parent e4736fa commit e9ed20d
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion choosenim.nimble
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ requires "analytics >= 0.3.0"
requires "osinfo >= 0.3.0"
requires "zippy >= 0.7.2"
when defined(windows):
requires "puppy 1.5.3"
requires "puppy 1.5.4"

task release, "Build a release binary":
exec "nimble build -d:release"
2 changes: 0 additions & 2 deletions src/choosenim.nims
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
when defined(macosx):
switch("define", "curl")
switch("passC","-arch arm64 -arch x86_64")
switch("passL","-arch arm64 -arch x86_64")
elif not defined(windows):
switch("define", "curl")

Expand Down

0 comments on commit e9ed20d

Please sign in to comment.