Changeset 161121 in webkit


Ignore:
Timestamp:
Dec 29, 2013 10:49:57 AM (10 years ago)
Author:
Martin Robinson
Message:

[GTK] [CMake] Convenience libraries that export API should be compiled with --whole-archive on Unix
https://bugs.webkit.org/show_bug.cgi?id=126232

Reviewed by Gustavo Noronha Silva.

Source/WebKit:

  • PlatformGTK.cmake: Prefix libGObjectDOMBindings with --whole-archive so that

symbols are not omitted during final linking.

Source/WebKit2:

  • PlatformGTK.cmake: Prefix libGObjectDOMBindings with --whole-archive so that

symbols are not omitted during final linking.

Location:
trunk/Source
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebKit/ChangeLog

    r161068 r161121  
     12013-12-29  Martin Robinson  <mrobinson@igalia.com>
     2
     3        [GTK] [CMake] Convenience libraries that export API should be compiled with --whole-archive on Unix
     4        https://bugs.webkit.org/show_bug.cgi?id=126232
     5
     6        Reviewed by Gustavo Noronha Silva.
     7
     8        * PlatformGTK.cmake: Prefix libGObjectDOMBindings with --whole-archive so that
     9        symbols are not omitted during final linking.
     10
    1112013-12-25  Martin Robinson  <mrobinson@igalia.com>
    212
  • trunk/Source/WebKit/PlatformGTK.cmake

    r161068 r161121  
    130130)
    131131
     132# Since the GObjectDOMBindings convenience library exports API that is unused except
     133# in embedding applications we need to instruct the linker to link all symbols explicitly.
    132134list(APPEND WebKit_LIBRARIES
    133     GObjectDOMBindings
     135    -Wl,--whole-archive GObjectDOMBindings -Wl,--no-whole-archive
    134136    WebCorePlatformGTK
    135137)
  • trunk/Source/WebKit2/ChangeLog

    r161114 r161121  
     12013-12-29  Martin Robinson  <mrobinson@igalia.com>
     2
     3        [GTK] [CMake] Convenience libraries that export API should be compiled with --whole-archive on Unix
     4        https://bugs.webkit.org/show_bug.cgi?id=126232
     5
     6        Reviewed by Gustavo Noronha Silva.
     7
     8        * PlatformGTK.cmake: Prefix libGObjectDOMBindings with --whole-archive so that
     9        symbols are not omitted during final linking.
     10
    1112013-12-26  Sam Weinig  <sam@webkit.org>
    212
  • trunk/Source/WebKit2/PlatformGTK.cmake

    r161071 r161121  
    427427)
    428428
     429# Since the GObjectDOMBindings convenience library exports API that is unused except
     430# in embedding applications we need to instruct the linker to link all symbols explicitly.
    429431list(APPEND WebKit2_LIBRARIES
    430     GObjectDOMBindings
     432    -Wl,--whole-archive GObjectDOMBindings -Wl,--no-whole-archive
    431433    WebCorePlatformGTK
    432434)
Note: See TracChangeset for help on using the changeset viewer.