X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/9be9b97445f6e28b1ef9fd1fefdc28f40da51b24..fa3541bd156c5efaa448b7869d615588e86cd75c:/distrib/msw/tmake/sc.t?ds=sidebyside diff --git a/distrib/msw/tmake/sc.t b/distrib/msw/tmake/sc.t index eca10fb8f7..faecf5740b 100644 --- a/distrib/msw/tmake/sc.t +++ b/distrib/msw/tmake/sc.t @@ -37,8 +37,11 @@ next if $wxGeneric{$file} =~ /\b16\b/; + my $isOleObj = $wxMSW{$file} =~ /\bO\b/; $file =~ s/cp?p?$/obj/; - $project{"WXMSWOBJS"} .= '$(MSWDIR)\\' . $file . " " + $project{"WXMSWOBJS"} .= '$(MSWDIR)\\'; + $project{"WXMSWOBJS"} .= 'ole\\' if $isOleObj; + $project{"WXMSWOBJS"} .= $file . " " } #$}