Skip to content

Commit 4024814

Browse files
committed
Don't run distinct on native linking/compile flags
This breaks flags with parameters, such as on Mac OS: -framework Cocoa -framework IOKit
1 parent d935027 commit 4024814

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/cli/src/main/scala/CommandLineApp.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -362,7 +362,7 @@ object VcpkgCLI extends VcpkgPluginImpl, VcpkgPluginNativeImpl:
362362
VcpkgNativeConfig().withRenamedLibraries(rename)
363363
).map(NativeFlag.Linking(_))
364364

365-
flags.result().distinct
365+
flags.result()
366366
end computeNativeFlags
367367

368368
action match

0 commit comments

Comments
 (0)