Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge 165378 - [GTK] [CMake] Clean up library linking
https://bugs.webkit.org/show_bug.cgi?id=129782 Reviewed by Philippe Normand. .: * Source/cmake/OptionsGTK.cmake: Add a macro to wrap all libraries in a list with --whole-archive so that unused symbols are not dropped. This is useful when building up shared libraries from convenience libraries. Source/WebCore: * PlatformGTK.cmake: Some files are duplicated on the source list of two convenience libraries. Ensure that they are all compiled into WebCore instead of WebCorePlatformGTK. Some simply need to be moved to WebCore from WebCorePlatformGTK. Don't try to link WebCorePlatformGTK against WebCore -- convenience libraries should be able to save their symbol resolution for the final linking step. Source/WebKit: * PlatformGTK.cmake: Use the new macro. Source/WebKit2: * PlatformGTK.cmake: Use the new macro. Conflicts: ChangeLog Source/WebCore/ChangeLog Source/WebKit/ChangeLog Source/WebKit2/ChangeLog
- Loading branch information
Showing
4 changed files
with
23 additions
and
35 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters