blob: 166c3497e8b6d060f6be89d72dfffac10f00c043 [file] [log] [blame]
#! /usr/bin/perl -w
use strict;
require Cwd;
my $tool = $0;
$tool =~ s%^(?:.*?/)?([^/]+)$%$1%;
$_ = Cwd::cwd();
while($_) {
my $file = "$_/tools/winapi/$tool";
if(-e $file) {
exec("$file @ARGV");
}
s%/[^/]*$%%;
}
print STDERR "$0: $tool: can't link to command\n";