diff --git a/Package.swift b/Package.swift index c4c1935cf..81a320383 100644 --- a/Package.swift +++ b/Package.swift @@ -35,7 +35,12 @@ let package = Package( "GlobalStateExplorers/SystemLog/LLVM_LICENSE.TXT", ], publicHeadersPath: "Headers", - cSettings: .headerSearchPaths + .warningFlags + cSettings: .headerSearchPaths + .warningFlags, + linkerSettings: [ + .linkedFramework("CoreGraphics"), + .linkedLibrary("sqlite3"), + .linkedLibrary("z"), + ] ) ], // Required to compile FLEXSwiftInternal.mm @@ -51,10 +56,10 @@ extension Array where Element == CSetting { "-Wno-unsupported-availability-guard", ])] } - + return [] } - + /// These are the header search paths needed for FLEX to compile, not /// the headers used by projects linking against FLEX. ///