What Automake is trying to tell you is that LDFLAGS is meaningless
on a static library. This message could definitely be improved!
Of course, thanks! I was confused because in another Makefile.am that had only a static library I did not get this message, but I did not set LDFLAGS there.