I am working with open source software that libtool uses in the build process. I would like to statically link local application components with the following benefits:
- does not require launching the libtool shell
- function calls did not touch dynamic linking during debugging
- Avoid inadvertent dynamic binding to an existing installed system.
Is there a standard way for the build process that does this?
Due to dependencies on non-static system libraries, I can't just use:
./configure LDFLAGS='-static'
nobar
source share