Frage

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'.

War es hilfreich?

Lösung

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

Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow
scroll top