We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I am trying to link libz with my package, taken from this example https://github.com/vapor/toolbox/blob/master/Tests/VaporToolboxTests/VaporConfigResources/Packages/Example-10.0.1/vapor.json
libz
But the linker ignores it, so it fails to link Sentry, here is the file https://github.com/getsentry/sentry-cocoa/blob/master/vapor.json If I run locally swift build -Xlinker -lz it works fine for Sentry.
swift build -Xlinker -lz
This is my Package.swift
Package.swift
import PackageDescription let package = Package( name: "test", targets: [ Target(name: "App"), Target(name: "Run", dependencies: ["App"]), ], dependencies: [ .Package(url: "https://github.com/vapor/vapor.git", majorVersion: 2), .Package(url: "https://github.com/vapor/leaf-provider.git", majorVersion: 1), .Package(url: "https://github.com/getsentry/sentry-cocoa.git", "3.0.12") ], exclude: [ "Config", "Database", "Public", "Resources", ] )
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I am trying to link
libz
with my package, taken from this examplehttps://github.com/vapor/toolbox/blob/master/Tests/VaporToolboxTests/VaporConfigResources/Packages/Example-10.0.1/vapor.json
But the linker ignores it, so it fails to link Sentry, here is the file
https://github.com/getsentry/sentry-cocoa/blob/master/vapor.json
If I run locally
swift build -Xlinker -lz
it works fine for Sentry.This is my
Package.swift
The text was updated successfully, but these errors were encountered: