[Webkit-unassigned] [Bug 144557] [GTK] OSX linker doesn't understand --whole-archive

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Oct 12 15:14:34 PDT 2015


https://bugs.webkit.org/show_bug.cgi?id=144557

--- Comment #7 from Philip Chimento <philip.chimento at gmail.com> ---
(In reply to comment #6)
> >> Source/WebKit2/PlatformGTK.cmake:890
> >> +        --library=c++
> > 
> > Ditto.
> 
> Hrm. Is c++ a system library or a special value understood by g-ir-scanner?
> If it's the latter, is it documented somewhere?

libc++ is LLVM's version of libstdc++, so it's a system library.

That makes me realize though, that I'd need to add libstdc++ on normal systems and libc++ on systems using XCode's linker. So I think removing ADD_WHOLE_ARCHIVE_TO_LIBRARIES is a non-starter; better to use --whole-archive when it's available.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20151012/2070aac2/attachment.html>


More information about the webkit-unassigned mailing list