diff --git a/Package.swift b/Package.swift index 7f1ff38..03d57b5 100644 --- a/Package.swift +++ b/Package.swift @@ -69,7 +69,10 @@ let targets: [Target] = [ // C-module for z-lib shims .target( name: "CGRPCZlib", - dependencies: [] + dependencies: [], + linkerSettings: [ + .linkedLibrary("z") + ] ), // Core module containing shared compionents for the NIOPosix and NIOTS variants.