Skip to content

Commit

Permalink
Fix linker settings
Browse files Browse the repository at this point in the history
This actually works now.
  • Loading branch information
jpsim committed Mar 17, 2022
1 parent fc27741 commit e1cd7c8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ let package = Package(
// Pass `-dead_strip_dylibs` to ignore the dynamic version of `lib_InternalSwiftSyntaxParser`
// that ships with SwiftSyntax because we want the static version from
// `StaticInternalSwiftSyntaxParser`.
swiftSettings: staticSwiftSyntax ? [.unsafeFlags(["-Xlinker", "-dead_strip_dylibs"])] : []
linkerSettings: staticSwiftSyntax ? [.unsafeFlags(["-Xlinker", "-dead_strip_dylibs"])] : []
),
.testTarget(
name: "SwiftLintFrameworkTests",
Expand Down

0 comments on commit e1cd7c8

Please sign in to comment.