X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/0506bbbfdf26f772d4b234d0aa68ce2b2f2bd72f..641b395201e964537575ef750030d3fd6186f36a:/configure.in diff --git a/configure.in b/configure.in index bda2ce3cfa..fbdbf57aff 100644 --- a/configure.in +++ b/configure.in @@ -2936,9 +2936,7 @@ equivalent variable and GTK+ is version 1.2.3 or above. GUIDIST=MACX_DIST dnl wxMac version of wxBase and wxCocoa or wxBase-only built on Darwin dnl are different, so they need different names: - dnl FIXME: If we can do it like this, please do, and we can remove - dnl BASEPORT from bakefiles and elsewhere - WX_FLAVOUR="carbon${WX_FLAVOUR:+_$WX_FLAVOUR}" + WXBASEPORT="_carbon" fi if test "$wxUSE_COCOA" = 1; then @@ -3330,7 +3328,7 @@ fi dnl library link name dnl These just save us from exporting lib_{unicode,debug,flavour}_suffix. dnl If we ever need to do that, we won't need to keep these. -WX_LIBRARY_BASENAME_NOGUI="wx_base${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}" +WX_LIBRARY_BASENAME_NOGUI="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}" WX_LIBRARY_BASENAME_GUI="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}" @@ -5737,6 +5735,9 @@ if test "$wxUSE_MAC" = 1 ; then if test "$wxUSE_SOUND" = "yes"; then LDFLAGS="$LDFLAGS -framework QuickTime" fi + if test "$USE_DARWIN" = 1; then + LDFLAGS="$LDFLAGS -framework IOKit" + fi LDFLAGS="$LDFLAGS -framework Carbon -framework Cocoa -framework System" fi if test "$wxUSE_COCOA" = 1 ; then