Explorar o código

Add missing linker settings for zlib (#2)

George Barnett hai 1 ano
pai
achega
a071b60cdb
Modificáronse 1 ficheiros con 4 adicións e 1 borrados
  1. 4 1
      Package.swift

+ 4 - 1
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.