Add IOKit framework to LIBS when compiling for Mac OSX

This commit is contained in:
Cimarron Mittelsteadt
2021-07-03 08:26:44 -07:00
parent 8c198fac9e
commit ac5c57c5fe

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).])
;;