Ignore:
Timestamp:
Jan 30, 2011, 2:40:40 AM (14 years ago)
Author:
[email protected]
Message:

2011-01-30 Benjamin Poulain <[email protected]>

Reviewed by Kenneth Rohde Christiansen.

[Qt] JavaScriptCore does not link on Mac if building WebKit 2
https://bugs.webkit.org/show_bug.cgi?id=53377

The option "-whole-archive" is not availabe with the libtool of Mac OS X,
instead, we can use "-all_load" on Mac.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/JavaScriptCore/JavaScriptCore.pri

    r77070 r77086  
    9292        webkit2 {
    9393            # FIXME Workaround for undefined reference linking issues until the build system gets redesigned
    94             LIBS += -Wl,-whole-archive -l$$JAVASCRIPTCORE_TARGET -Wl,-no-whole-archive
     94            mac: LIBS += -Wl,-all_load -l$$JAVASCRIPTCORE_TARGET -WL,-noall_load
     95            else: LIBS += -Wl,-whole-archive -l$$JAVASCRIPTCORE_TARGET -Wl,-no-whole-archive
    9596        } else {
    9697            LIBS += -l$$JAVASCRIPTCORE_TARGET
Note: See TracChangeset for help on using the changeset viewer.