Is it possible to stick a shared library to an app? I don't want to cross compile or anything like that. the shared library uses typical libraries which are available on target systems( i.e. Ubuntu 32bit x86) according to 'ldd'.

有帮助吗?

解决方案

If there is a staticly built version of the library available (libxxx.a instead of libxxx.so), the easiest way would be to link against that. If that is not possible, you could create something like a self-extracting executable tar file with the app and the shared library. For example, see http://www.linuxjournal.com/content/add-binary-payload-your-shell-scripts

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top