I would like to compile NRPE static, so I can copy the compiled binary to an OmniOS server, where I don\'t want gcc to be installed on. I would prefer to install NRPE with S
For people coming from google, I found that if you have libtool part of your build, you will need to:
libtool
./configure CFLAGS="-static" ....
make LDFLAGS="-all-static"
You can see that -all-static with libtool --help --mode=link
-all-static
libtool --help --mode=link
Try this:
./configure LDFLAGS="-static"