$ ./configure --without-dnet --without-x --without-icu CFLAGS='-Wno-deprecated-declarations -static -fPIC' --without-pam --without-procps LDFLAGS=-static CXXFLAGS=-static
I'm trying to compile open-vm-tools statically linked. I've been able to compile it, but vmtoolsd is still dynamically linked. It may be worth noting that glib is version 2.34.3. Has anybody tried this? Is there a better way to do it?