Ah, I think I see what's going on, I think some comments may be in order (down on the if condition).

This also looks like if you have a host crate with macros (but no target crate), you will attempt to link against it?