On 11/26/08 11:58, RKVS Raman wrote:

How do i  package 3rd party DLLs with my Extension which uses them?

If your extension shared library X is linked against a single additional ("3rd party") shared library Y, then place Y into the same directory as X in the extension .oxt, do not mention Y in the manifest of the extension .oxt, and, depending on platform, do one of the following:

On Windows, nothing more should be necessary, due to the LOAD_WITH_ALTERED_SEARCH_PATH at tags/DEV300_m36/sal/osl/w32/[EMAIL PROTECTED] l. 70.

On ELF based Unix (Linux, Solaris), make sure $ORIGIN is in the RPATH of X.

On Mac OS X, make sure X references Y via @loader_path.

If, however, X loads Y dynamically, or Y in turn is linked against or loads dynamically further shared libraries, things start to get complicated...


To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to