Skip to content

Commit

Permalink
Don't run distinct on native linking/compile flags
Browse files Browse the repository at this point in the history
This breaks flags with parameters, such as on Mac OS:
  -framework Cocoa -framework IOKit
  • Loading branch information
keynmol committed Jan 22, 2024
1 parent d935027 commit 4024814
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/cli/src/main/scala/CommandLineApp.scala
Original file line number Diff line number Diff line change
Expand Up @@ -362,7 +362,7 @@ object VcpkgCLI extends VcpkgPluginImpl, VcpkgPluginNativeImpl:
VcpkgNativeConfig().withRenamedLibraries(rename)
).map(NativeFlag.Linking(_))

flags.result().distinct
flags.result()
end computeNativeFlags

action match
Expand Down

0 comments on commit 4024814

Please sign in to comment.