Skip to content

Commit

Permalink
windows: link to advapi32.lib
Browse files Browse the repository at this point in the history
Signed-off-by: furby™ <devs@wabi.foundation>
  • Loading branch information
furby-tm committed Nov 5, 2024
1 parent 2a2ae57 commit c891ed1
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,9 @@ let package = Package(
.define("_ALLOW_COMPILER_AND_STL_VERSION_MISMATCH", .when(platforms: [.windows])),
.define("_ALLOW_KEYWORD_MACROS", to: "1", .when(platforms: [.windows])),
.define("static_assert(_conditional, ...)", to: "", .when(platforms: [.windows])),
],
linkerSettings: [
.linkedLibrary("advapi32", .when(platforms: [.windows]))
]
),

Expand Down

0 comments on commit c891ed1

Please sign in to comment.