Skip to content

Commit 798c021

Browse files
committed
add linker opts for missing Windows security libs
1 parent c117947 commit 798c021

File tree

1 file changed

+1
-0
lines changed
  • aws-crt-kotlin/native/interop

1 file changed

+1
-0
lines changed

aws-crt-kotlin/native/interop/crt.def

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ headerFilter = aws/common/* aws/io/* aws/http/* aws/compression/* aws/auth/* aws
3333

3434
linkerOpts.osx = -framework Security -framework Network
3535
linkerOpts.ios = -framework Security -framework Network
36+
linkerOpts.mingw = -lcrypt32 -lsecur32 -lncrypt -lshlwapi
3637

3738
# included libs are linked automatically, adding linkerOpts like `-laws-c-common` causes
3839
# issues downstream as it will search for that library still.

0 commit comments

Comments
 (0)