[GTK] OSX linker doesn't understand --whole-archive
authorcommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 13 Oct 2015 00:37:48 +0000 (00:37 +0000)
committercommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 13 Oct 2015 00:37:48 +0000 (00:37 +0000)
commit3a3bdd760aef320c5a83a88faf3b8393c83aa197
tree80bc152438fc4c4f5a02aabd78710885aa19366d
parenta7ce364f97001a66be5ef5d34090e505c1887965
[GTK] OSX linker doesn't understand --whole-archive
https://bugs.webkit.org/show_bug.cgi?id=144557

Patch by Philip Chimento <philip.chimento@gmail.com> on 2015-10-12
Reviewed by Martin Robinson.

.:

* Source/cmake/OptionsGTK.cmake: Turn the macro
ADD_WHOLE_ARCHIVE_TO_LIBRARIES into a no-op on Darwin systems,
because XCode's linker doesn't have the --whole-archive option.

Source/WebKit2:

* PlatformGTK.cmake: Link with extra libraries on Darwin, since
we don't have the --whole-archive linker option.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@190909 268f45cc-cd09-0410-ab3c-d52691b4dbfc
ChangeLog
Source/WebKit2/ChangeLog
Source/WebKit2/PlatformGTK.cmake
Source/cmake/OptionsGTK.cmake