質問

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