From 1d7e0967a2b4bbcdb4e2d74c027c1f2234bb1f9b Mon Sep 17 00:00:00 2001 From: drkameleon Date: Tue, 8 Mar 2022 14:53:33 +0100 Subject: [PATCH] yet another try --- build.nims | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.nims b/build.nims index 82fead3939..d47d7e3fd3 100755 --- a/build.nims +++ b/build.nims @@ -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: