wx-config --libs doesn't add media and gl if they're enabled
John Labenski
jlabenski at gmail.com
Sun Jul 1 08:03:03 PDT 2007
wxWidgets 2.8 branch from CVS in Linux.
I've enabled the media and gl library using the configure options
--enable-mediactrl=yes
--with-opengl
however, when I run 'wx-config --libs' they aren't added? Is this correct?
I was hoping that I wouldn't have to directly specify these extra
libs. The code would rely on #if wxUSE_MEDIACTRL and wxUSE_GLCANVAS so
that if those two are 1 then the code gets compiled and the libs will
be linked to automatically.
Otherwise I guess I'd have to hard code 'wx-config --libs
media,gl,...,core,base' into my Makefile which would fail if media and
gl were not actually compiled. Is there any way to get the complete
list of libs that wxWidgets has compiled to link against?
Thanks,
John Labenski
More information about the wx-dev
mailing list