[wx-dev] wx-config --libs doesn't add media and gl if they're
enabled
John Labenski
jlabenski at gmail.com
Sun Jul 1 19:58:06 PDT 2007
On 7/1/07, John Labenski <jlabenski at gmail.com> wrote:
>
> These are the changes I made to "configure", however the real fix is
> to do the same in "configure.in" I suppose. I just added the two lines
> for wxUSE_MEDIACTRL and wxUSE_OPENGL below. This is used to set the
> default 'wx-config --libs', see @CORE_GUI_LIBS@ in wx-config.in.
> Perhaps there are more libs to do this for too?
>
> ...
>
> if test "$wxUSE_AUI" = "yes" ; then
> CORE_GUI_LIBS="aui $CORE_GUI_LIBS"
> fi
> if test "$wxUSE_MEDIACTRL" = "yes" ; then
> CORE_GUI_LIBS="media $CORE_GUI_LIBS"
> fi
> if test "$wxUSE_OPENGL" = "yes" ; then
> CORE_GUI_LIBS="gl $CORE_GUI_LIBS"
> fi
if test "$wxUSE_RICHTEXT" = "yes" ; then
CORE_GUI_LIBS="richtext $CORE_GUI_LIBS"
fi
>
> if test "$wxUSE_GUI" != "yes"; then
> CORE_GUI_LIBS=""
> fi
>
> ...
Add richtext too.
Regards,
John Labenski
More information about the wx-dev
mailing list