GNU ld doesn't produce implibs unless explicitly requested.
Is the test command ok to use in lit tests, is that one of the commands that can be assumed to be available for all users, or is there a better way for testing whether a file exists? (I guess some other dummy command that inspects the file also would work...)