[webkit-dev] loading dylibs from netscape plugin package

Rudi Sherry rsherry at adobe.com
Thu Feb 1 16:01:05 PST 2007


Yes, use @loader_path.  That is relative to the folder holding the  
executable loading the dylib (that is, "." refers to that folder).

Acrobat does this in its browser plug-in (AdobePDFViewer.plugin).

Use install_name_tool to change the path that your executable uses to  
find those dylibs (install_name_tool has a man page).

On Jan 18, 2007, at 7:27 AM, Alexey Proskuryakov wrote:

> On 1/18/07 5:31 PM, "Don Agro" <dagro at dogparksoftware.com> wrote:
>
>> The dylibs in question have the @executable_path install name set and
>> can be loaded from a standalone application package but if I am not
>> mistaken when the plugin is loaded by Safari this @executable_path
>> install name is interpreted as the Safari MacOS package contents
>> folder not the one in my plugin.
>>
>> Is there any way to change this ?
>
>   I think an install name relative to @loader_path can be used to  
> specify
> such a dependency (never used it myself, though).
>
> - WBR, Alexey Proskuryakov
>
>
> _______________________________________________
> webkit-dev mailing list
> webkit-dev at lists.webkit.org
> http://lists.webkit.org/mailman/listinfo/webkit-dev




More information about the webkit-dev mailing list