Skip to content

Fix issue building on latest MacOS 12.1 with Apple Silicon.#21

Open
chrismoos wants to merge 1 commit intokost:masterfrom
chrismoos:fix-macos-build
Open

Fix issue building on latest MacOS 12.1 with Apple Silicon.#21
chrismoos wants to merge 1 commit intokost:masterfrom
chrismoos:fix-macos-build

Conversation

@chrismoos
Copy link
Copy Markdown

Security framework added to linker flags due to build error:

Undefined symbols for architecture arm64:
  "_SecTaskCopyValueForEntitlement", referenced from:
      _darwin_detach_kernel_driver in libusb-1.0.a(darwin_usb.o)
  "_SecTaskCreateFromSelf", referenced from:
      _darwin_detach_kernel_driver in libusb-1.0.a(darwin_usb.o)
ld: symbol(s) not found for architecture arm64

Security framework added to linker flags due to build error:

Undefined symbols for architecture arm64:
  "_SecTaskCopyValueForEntitlement", referenced from:
      _darwin_detach_kernel_driver in libusb-1.0.a(darwin_usb.o)
  "_SecTaskCreateFromSelf", referenced from:
      _darwin_detach_kernel_driver in libusb-1.0.a(darwin_usb.o)
ld: symbol(s) not found for architecture arm64
@grayfox-dev
Copy link
Copy Markdown

Can confirm that this also worked for my x86 Mac. Thanks for this!

@tommythorn
Copy link
Copy Markdown

Can confirm that this fixed the build on macOS 15.1.1 w/Apple Silicon
@kost can we have this pulled please?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants