diff --git a/wx-config.in b/wx-config.in index 1743d670ea..bd9a0b67ee 100755 --- a/wx-config.in +++ b/wx-config.in @@ -775,7 +775,8 @@ if not user_mask_fits "$this_config" ; then decho "--> $prefix/bin/$_last_chance $_legacy_args" fi - export WXCONFIG_DELEGATED=yes + WXCONFIG_DELEGATED=yes + export WXCONFIG_DELEGATED $prefix/bin/$_last_chance $_legacy_args exit @@ -814,7 +815,8 @@ if not user_mask_fits "$this_config" ; then decho "--> $wxconfdir/$best_delegate $*" fi - export WXCONFIG_DELEGATED=yes + WXCONFIG_DELEGATED=yes + export WXCONFIG_DELEGATED $wxconfdir/$best_delegate $* exit fi @@ -836,7 +838,8 @@ if not user_mask_fits "$this_config" ; then decho "--> $wxconfdir/`find_eligible_delegates $configmask` $*" fi - export WXCONFIG_DELEGATED=yes + WXCONFIG_DELEGATED=yes + export WXCONFIG_DELEGATED $wxconfdir/`find_eligible_delegates $configmask` $* exit fi