wxBase compilation fix for Mac, with help from Ryan

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34372 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Michael Wetherell
2005-05-27 13:18:50 +00:00
parent ce08fb6f7c
commit 19b27e78cf
3 changed files with 6 additions and 9 deletions

View File

@@ -6389,8 +6389,6 @@ if test "$wxUSE_MAC" = 1 ; then
else
LDFLAGS="$LDFLAGS -lCarbonLib"
fi
elif test "$USE_DARWIN" = 1; then
LDFLAGS="$LDFLAGS -framework IOKit -framework CoreServices -framework System"
fi
if test "$wxUSE_COCOA" = 1 ; then
LDFLAGS="$LDFLAGS -framework IOKit -framework Cocoa"
@@ -6398,6 +6396,9 @@ if test "$wxUSE_COCOA" = 1 ; then
LDFLAGS="$LDFLAGS -framework QuickTime"
fi
fi
if test "$USE_DARWIN" = 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1 ; then
LDFLAGS="$LDFLAGS -framework IOKit -framework CoreServices -framework System -framework ApplicationServices"
fi
dnl FIXME: should this be covered by the conditional above
dnl given the -lm comment there? Or should that comment (and