Skip to content

Commit

Permalink
link to security framework on macos
Browse files Browse the repository at this point in the history
  • Loading branch information
mattnite committed Jan 29, 2024
1 parent 7abe6d9 commit 347fecd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions build.zig
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ fn create_libusb(
if (target.isDarwin()) {
lib.addCSourceFiles(darwin_src, &.{});
lib.linkFrameworkNeeded("IOKit");
lib.linkFrameworkNeeded("Security");
} else if (target.isLinux()) {
lib.addCSourceFiles(linux_src, &.{});
lib.linkSystemLibrary("udev");
Expand Down

0 comments on commit 347fecd

Please sign in to comment.