I have a library taking up a lot of disk space. Only one program I use links to that library.
I am pretty sure that the program uses only a tiny fraction of the functionality provided by that library.
Can I somehow programmatically remove functionality from the library that is not needed for running that program, so it will take up less disk space?
(Without having to recompile the library if possible)