On Sat, Jan 14, 2017 at 1:34 AM, Konstantin Tokarev <[email protected]> wrote:
>
> Static library is just an (indexed) archive of object files, symbol 
> dependencies are not resolved when it is created. Instead this happens when 
> static library is linked into shared library or executable.
>
> If PAL is static and uses symbol from WebCore, link failure may happen 
> only[*] if that symbol is not used anywhere in WebCore itself (provided that 
> PAL stays after WebCore in linker command line and options like 
> --start-group/--end-group are not used).
>
> [*] Assuming linker behavior similar to ELF linkers

You can check unresolved symbols of the static library by creating a
unit test executable of PAL.
_______________________________________________
webkit-dev mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-dev

Reply via email to