Changeset 76263 in webkit for trunk/Source/JavaScriptCore


Ignore:
Timestamp:
Jan 20, 2011, 10:13:55 AM (14 years ago)
Author:
[email protected]
Message:

2011-01-20 Andras Becsi <[email protected]>

Reviewed by Csaba Osztrogonác.

[Qt][WK2] WebKit2 enabled build fails to link

Work around undefined reference linking issues until the buildsystem gets redesigned.
These issues first occured in minimal builds (see BUG 50519).

Location:
trunk/Source/JavaScriptCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/JavaScriptCore/ChangeLog

    r76248 r76263  
     12011-01-20  Andras Becsi  <[email protected]>
     2
     3        Reviewed by Csaba Osztrogonác.
     4
     5        [Qt][WK2] WebKit2 enabled build fails to link
     6
     7        Work around undefined reference linking issues until the buildsystem gets redesigned.
     8        These issues first occured in minimal builds (see BUG 50519).
     9
     10        * JavaScriptCore.pri: link as whole-archive for WebKit2 builds
     11
    1122011-01-20  Zoltan Horvath  <[email protected]>
    213
  • trunk/Source/JavaScriptCore/JavaScriptCore.pri

    r76122 r76263  
    8989        # that can't resolve symbols from QtCore if libjscore comes after.
    9090        QMAKE_LIBDIR = $$pathToJavaScriptCoreOutput $$QMAKE_LIBDIR
    91         LIBS += -l$$JAVASCRIPTCORE_TARGET
     91        webkit2 {
     92            # FIXME Workaround for undefined reference linking issues until the build system gets redesigned
     93            LIBS += -Wl,-whole-archive -l$$JAVASCRIPTCORE_TARGET -Wl,-no-whole-archive
     94        } else {
     95            LIBS += -l$$JAVASCRIPTCORE_TARGET
     96        }
    9297        POST_TARGETDEPS += $${pathToJavaScriptCoreOutput}$${QMAKE_DIR_SEP}lib$${JAVASCRIPTCORE_TARGET}.a
    9398    }
Note: See TracChangeset for help on using the changeset viewer.