My project contains a target that links against a C library (SDL). The headers and libs are included locally in my project and I've set up the following flags:
swiftSettings: [
.unsafeFlags(["-Isdl/include"], .when(platforms: [.windows]))
],
linkerSettings: [
.unsafeFlags(["-Lsdl/lib"], .when(platforms: [.windows]))
]
With these flags, I can build my project, and, provided that the DLLs are on the path, I can also run it.
However, my build output contains an endless list of warnings such as the following:
lld-link: warning: C:\Users\steve\Developer\swift-sdl.build\x86_64-unknown-windows-msvc\debug\AdvancedText.build\main.swift.o: locally defined symbol imported: $s3SDL14AudioLibrariesVs10SetAlgebraAAMc (defined in C:\Users\steve\Developer\swift-sdl.build\x86_64-unknown-windows-msvc\debug\SDL.build\Audio\AudioLibraries.swift.o) [LNK4217]
lld-link: warning: C:\Users\steve\Developer\swift-sdl.build\x86_64-unknown-windows-msvc\debug\SDL.build\SDL.swift.o: locally defined symbol imported: $s7Logging6LoggerV7MessageVN (defined in C:\Users\steve\Developer\swift-sdl.build\x86_64-unknown-windows-msvc\debug\Logging.build\Logging.swift.o) [LNK4217]
Is there something I can or should do to address these?