Skip to content

Commit

Permalink
Add security framework for OS X compilation against libusb 1.0.25
Browse files Browse the repository at this point in the history
  • Loading branch information
majenkotech committed Feb 13, 2022
1 parent 237160c commit b4b9cbe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ case $host_os in
LIBUSB_PREFIX=`pkg-config --libs-only-L libusb-1.0 | cut -c3-`
AC_SUBST([LIBUSB_PREFIX])
PKG_CHECK_MODULES(LIBUSB, libusb-1.0,[
LIBUSB_LIBS="-framework IOKit -framework CoreFoundation ${LIBUSB_PREFIX}/libusb-1.0.a -lobjc"
LIBUSB_LIBS="-framework IOKit -framework CoreFoundation -framework Security ${LIBUSB_PREFIX}/libusb-1.0.a -lobjc"
],[WANT_USB=-1; WANT_HID=0])
])
AS_IF([test "x$WANT_HID" = "x1"], [
Expand Down

0 comments on commit b4b9cbe

Please sign in to comment.