Merge pull request #2634 from cimarronm/AddIOKitFramework

Add IOKit framework to LIBS when compiling for Mac OSX
This commit is contained in:
Jonathan Campbell
2021-07-05 00:43:39 -06:00
committed by GitHub

View File

@@ -461,7 +461,7 @@ case "$host" in
OBJCXXFLAGS="$OBJCXXFLAGS -std=gnu++11";
fi
AC_DEFINE(MACOSX, 1, [Compiling on Mac OS X])
LIBS="$LIBS -framework Carbon -framework CoreFoundation -framework CoreMIDI -framework AudioUnit -framework AudioToolbox -framework ApplicationServices -framework AppKit"
LIBS="$LIBS -framework Carbon -framework CoreFoundation -framework CoreMIDI -framework AudioUnit -framework AudioToolbox -framework ApplicationServices -framework AppKit -framework IOKit"
dnl FEATURE: Whether to support direct serial port passthrough
AC_DEFINE(C_DIRECTSERIAL, 1, [ Define to 1 if you want serial passthrough support (Win32, Posix and OS/2).])
;;