diff --git a/wx-config.in b/wx-config.in index a2a1706d48..d132e3182f 100755 --- a/wx-config.in +++ b/wx-config.in @@ -1242,6 +1242,10 @@ else # MONOLITHIC = 0 fi fi + # Existing scripts may use "wx-config --libs std,adv" or similar, but "adv" + # library is not used any longer. + wx_libs=`remove_field adv $wx_libs` + if [ -n "$output_option_libs" ]; then using_gui=no for i in $wx_libs ; do