Skip to content

Commit

Permalink
yet another try
Browse files Browse the repository at this point in the history
  • Loading branch information
drkameleon committed Mar 8, 2022
1 parent 4e54622 commit 1d7e096
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build.nims
Original file line number Diff line number Diff line change
Expand Up @@ -291,7 +291,7 @@ proc compile*(footer=false): int =
let (_,_) = gorgeEx "src\\extras\\webview\\deps\\build.bat"

if hostOS=="windows":
FLAGS = """{FLAGS} --passL:"""".fmt & staticExec("pkg-config --libs-only-L libcrypto").strip() & """ -llibcrypto.a" """.fmt
FLAGS = """{FLAGS} --passL:"-static """.fmt & staticExec("pkg-config --libs-only-L libcrypto").strip() & """ -lcrypto -Bdynamic" """.fmt
echo FLAGS
# let's go for it
if IS_DEV or PRINT_LOG:
Expand Down

0 comments on commit 1d7e096

Please sign in to comment.