David Golden wrote:
I can see that. On the other hand, CPAN.pm doesn't "make clean" so the blib sticks around. One tiny object file wouldn't really bug me and it would be cleaned up when the cache is cleaned. But I guess it's better to clean up if one can. (Assuming -o is portable across most all compilers.)

A) the test only sees whether you can compile a file (i.e. create an object file);

B) EU::MM notices this object file and tries to link it in with the other object files (discovered in a sidebar with Eric Wilhelm);

hence

C) The Makefile.PL that now ships with version.pm deletes the test object file prior to writing the Makefile:

        map { unlink $_ if -f $_ } ('test.c','test.o');

John

--
John Peacock
Director of Information Research and Technology
Rowman & Littlefield Publishing Group
4501 Forbes Boulevard
Suite H
Lanham, MD  20706
301-459-3366 x.5010
fax 301-429-5748

Reply via email to