How to static link Linux software that uses ./configure?
Try this:
./configure LDFLAGS="-static"
For people coming from google, I found that if you have libtool
part of your build, you will need to:
./configure CFLAGS="-static" ....
make LDFLAGS="-all-static"
You can see that -all-static
with libtool --help --mode=link