- using_gui=no
- for i in $wx_libs ; do
- if match_field "$i" @STD_GUI_LIBS@ ; then
- _guildflags="@WXCONFIG_LDFLAGS_GUI@"
- using_gui=yes
- break
- fi
- match_field "$i" @STD_BASE_LIBS@ || using_gui=yes
- done
+ if [ -n "$output_option_libs" ]; then
+ using_gui=no
+ for i in $wx_libs ; do
+ if match_field "$i" @STD_GUI_LIBS@; then
+ _guildflags="@WXCONFIG_LDFLAGS_GUI@"
+ using_gui=yes
+ break
+ fi
+ match_field "$i" @STD_BASE_LIBS@ || using_gui=yes
+ done
+ fi