Linux equivalent of Windows DLL forwarders or MacOS reexport_library
问题 I have a shared library that tries to provide a standardized interface, basically a list of functions. Some of these functions are already provided by another shared library. So I could just write the additional functions and ask the user to link to both libraries, i.e. have him do this: g++ foo.c -lmine -lother In order to make things easier for the user, however, I don't want to do that. (Given the situation I'm in, this would be way more complicated than just adding a flag in some script.)