Skip to content

Commit

Permalink
Attempt 2 to static link curl
Browse files Browse the repository at this point in the history
  • Loading branch information
ire4ever1190 committed Feb 3, 2024
1 parent f66a5bf commit 5f49eee
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions config.nims
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,7 @@ when defined(ci):
switch("d", "release")
switch("d", "strip")
switch("d", "staticBuild")
switch("passC", "-DCURL_STATICLIB -static")
switch("dynlibOverride", "curl")
switch("opt", "size")
switch("d", "nimDebugDlOpen")
2 changes: 1 addition & 1 deletion src/choosenim.nims
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
when defined(macosx):
switch("define", "curl")
elif not (defined(windows) or defined(android)):
elif not defined(windows):
switch("define", "curl")

# We don't need it, but nimble does for SslError import
Expand Down

0 comments on commit 5f49eee

Please sign in to comment.