File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed
aws-crt-kotlin/native/interop Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -36,8 +36,12 @@ linkerOpts.ios = -framework Security -framework Network
3636linkerOpts.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.
40- staticLibraries = libaws-crt-kotlin.a
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
4145staticLibraries.mingw = aws-crt-kotlin.lib
4246
4347---
You can’t perform that action at this time.
0 commit comments