adding link information to the shared library itself