Changeset 138707 in webkit


Ignore:
Timestamp:
Jan 3, 2013 6:13:44 AM (11 years ago)
Author:
commit-queue@webkit.org
Message:

[Qt] Fix library linking order
https://bugs.webkit.org/show_bug.cgi?id=105818

Some Qt libraries are linked before the private static libraries
that depend on them which results in QtWebKit failing to link.

Copy Qt module dependencies from QT to QT_PRIVATE when creating
module to ensure the Qt libraries are linked after the private
static libraries that depend on them.

Patch by Jonathan Liu <net147@gmail.com> on 2013-01-03
Reviewed by Tor Arne Vestbø.

  • qmake/mkspecs/features/default_post.prf:
Location:
trunk/Tools
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Tools/ChangeLog

    r138697 r138707  
     12013-01-03  Jonathan Liu  <net147@gmail.com>
     2
     3        [Qt] Fix library linking order
     4        https://bugs.webkit.org/show_bug.cgi?id=105818
     5
     6        Some Qt libraries are linked before the private static libraries
     7        that depend on them which results in QtWebKit failing to link.
     8
     9        Copy Qt module dependencies from QT to QT_PRIVATE when creating
     10        module to ensure the Qt libraries are linked after the private
     11        static libraries that depend on them.
     12
     13        Reviewed by Tor Arne Vestbø.
     14
     15        * qmake/mkspecs/features/default_post.prf:
     16
    1172013-01-02  Byungwoo Lee  <bw80.lee@samsung.com>
    218
  • trunk/Tools/qmake/mkspecs/features/default_post.prf

    r138678 r138707  
    203203    LIBS_PRIVATE += $$LIBS
    204204    unset(LIBS)
     205    # Copy Qt module dependencies from QT to QT_PRIVATE to ensure the
     206    # Qt libraries are linked after the private static libraries that
     207    # depend on them
     208    QT_PRIVATE += $$QT
    205209}
    206210
Note: See TracChangeset for help on using the changeset viewer.