3 $description = "Test the interaction of the -lfoo feature and vpath";
6 my @dirs_to_make = qw(a1 b1 a2 b2 b3);
7 for my $d (@dirs_to_make) {
11 my @files_to_touch = ("a1${pathsep}lib1.a",
13 "b1${pathsep}lib1.so",
15 "b2${pathsep}lib2.so",
17 "b3${pathsep}lib3.so");
18 &touch(@files_to_touch);
26 all: -l1 -lc -l2 -l3; @echo $^
28 '', "a1${pathsep}lib1.a a1${pathsep}libc.a a2${pathsep}lib2.a lib3.a\n");
30 unlink(@files_to_touch);
31 for my $d (@dirs_to_make) {