It is because only the functions in the library that are used in your program are linked in. So as the linker is going it makes a list of the functions it needs to find. As it goes through the libraries, it finds these functions, links them in and removes them from the list.
So, if libmirko...