[wx-dev] wx-config --libs doesn't add media and gl if they're enabled

Vadim Zeitlin vadim at wxwidgets.org
Mon Jul 2 03:46:12 PDT 2007


On Sun, 1 Jul 2007 22:45:36 -0400 John Labenski <jlabenski at gmail.com> wrote:

JL> These are the changes I made to "configure", however the real fix is
JL> to do the same in "configure.in" I suppose. I just added the two lines
JL> for wxUSE_MEDIACTRL and wxUSE_OPENGL below. This is used to set the
JL> default 'wx-config --libs', see @CORE_GUI_LIBS@ in wx-config.in.
JL> Perhaps there are more libs to do this for too?
JL> 
JL> ...
JL> 
JL> if test "$wxUSE_AUI" = "yes" ; then
JL>     CORE_GUI_LIBS="aui $CORE_GUI_LIBS"
JL> fi

 Thanks for the fix! Of course, *after* seeing this and searching for
CORE_GUI_LIBS I found that this was already described in
docs/tech/tn0016.txt... On the bright side it confirms that this is the
right thing to do.

 Regards,
VZ





More information about the wx-dev mailing list