Skip to content

Commit 133bd14

Browse files
committed
now that we're using msys2/gcc on Windows, we don't need the Windows-specific staticLibraries override
1 parent 8f70be0 commit 133bd14

File tree

1 file changed

+2
-7
lines changed
  • aws-crt-kotlin/native/interop

1 file changed

+2
-7
lines changed

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

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -36,13 +36,8 @@ linkerOpts.ios = -framework Security -framework Network
3636
linkerOpts.mingw = -lcrypt32 -lsecur32 -lncrypt -lshlwapi
3737

3838
# included libs are linked automatically, adding linkerOpts like `-laws-c-common` causes
39-
# issues downstream as it will search for that library still. Unfortunately, the name of the file to link is different
40-
# between OSes and the `staticLibraries` key requires a strict filename (e.g., libaws-crt-kotlin.a), not a raw library
41-
# name (e.g., aws-crt-kotlin) so we have to declare the statics for each target family independently.
42-
staticLibraries.linux = libaws-crt-kotlin.a
43-
staticLibraries.osx = libaws-crt-kotlin.a
44-
staticLibraries.ios = libaws-crt-kotlin.a
45-
staticLibraries.mingw = aws-crt-kotlin.lib
39+
# issues downstream as it will search for that library still.
40+
staticLibraries = libaws-crt-kotlin.a
4641

4742
---
4843

0 commit comments

Comments
 (0)