Changeset 190856 in webkit


Ignore:
Timestamp:
Oct 12, 2015 10:01:05 AM (9 years ago)
Author:
commit-queue@webkit.org
Message:

[GTK] Use --version-script only on Linux
https://bugs.webkit.org/show_bug.cgi?id=144555

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

  • Source/cmake/OptionsGTK.cmake: Don't add --version-script

option on Darwin (whose linker doesn't support it.)

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/ChangeLog

    r190781 r190856  
     12015-10-12  Philip Chimento  <philip.chimento@gmail.com>
     2
     3        [GTK] Use --version-script only on Linux
     4        https://bugs.webkit.org/show_bug.cgi?id=144555
     5
     6        Reviewed by Philippe Normand.
     7
     8        * Source/cmake/OptionsGTK.cmake: Don't add --version-script
     9        option on Darwin (whose linker doesn't support it.)
     10
    1112015-10-09  Gyuyoung Kim  <gyuyoung.kim@webkit.org>
    212
  • trunk/Source/cmake/OptionsGTK.cmake

    r190615 r190856  
    105105    WEBKIT_OPTION_DEFAULT_PORT_VALUE(ENABLE_MINIBROWSER PUBLIC OFF)
    106106    WEBKIT_OPTION_DEFAULT_PORT_VALUE(ENABLE_API_TESTS PRIVATE OFF)
    107     set(WebKit2_VERSION_SCRIPT "-Wl,--version-script,${CMAKE_MODULE_PATH}/gtksymbols.filter")
     107    if (NOT CMAKE_SYSTEM_NAME MATCHES "Darwin")
     108        set(WebKit2_VERSION_SCRIPT "-Wl,--version-script,${CMAKE_MODULE_PATH}/gtksymbols.filter")
     109    endif ()
    108110endif ()
    109111
Note: See TracChangeset for help on using the changeset viewer.