Skip to content

Commit 9216b6d

Browse files
committed
Restrict xlocale_wrapper to macOS
1 parent 53b770f commit 9216b6d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Package.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ let _: Package =
2727
.target(name: "Geometry"),
2828
.target(name: "Primitives"),
2929
.target(name: "libunistring", condition: .when(traits: ["GNU"])),
30-
.target(name: "xlocale_wrapper"),
30+
.target(name: "xlocale_wrapper", condition: .when(platforms: [.macOS])),
3131
.product(name: "POSIXCore", package: "swift-platform-core", condition: .when(platforms: [.macOS, .linux])),
3232
.product(name: "WindowsCore", package: "swift-platform-core", condition: .when(platforms: [.windows])),
3333
]),

0 commit comments

Comments
 (0)