Changeset 27015 in webkit


Ignore:
Timestamp:
Oct 24, 2007 10:01:13 PM (16 years ago)
Author:
mrowe@apple.com
Message:

2007-10-24 Sven Herzberg <sven@imendio.com>

Reviewed by Mark Rowe.

Fixes http://bugs.webkit.org/show_bug.cgi?id=15614
Bug 15614: [GTK] qmake based backends don't build on OS X

  • Scripts/build-webkit: set QMAKESPEC correctly if building the QT or GTK backend on a Mac
  • Scripts/webkitdirs.pm: extracted the darwin-test from isOSX() into isDarwin() to make it reusable in other places (like the workaround- for-prebuilt-qmake in build-webkit)
Location:
trunk/WebKitTools
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/WebKitTools/ChangeLog

    r27014 r27015  
     12007-10-24  Sven Herzberg  <sven@imendio.com>
     2
     3        Reviewed by Mark Rowe.
     4
     5        Fixes http://bugs.webkit.org/show_bug.cgi?id=15614
     6        Bug 15614: [GTK] qmake based backends don't build on OS X
     7
     8        * Scripts/build-webkit: set QMAKESPEC correctly if building the QT or
     9        GTK backend on a Mac
     10        * Scripts/webkitdirs.pm: extracted the darwin-test from isOSX() into
     11        isDarwin() to make it reusable in other places (like the workaround-
     12        for-prebuilt-qmake in build-webkit)
     13
    1142007-10-24  David Kilzer  <ddkilzer@webkit.org>
    215
  • trunk/WebKitTools/Scripts/build-webkit

    r27007 r27015  
    137137}
    138138
     139if ((isGtk() || isQt()) && isDarwin() && !$ENV{QMAKESPEC}) {
     140    # The qmake from Trolltech's binary "QT for Mac" distribution tries to
     141    # create xcode projects, not Makefiles
     142    $ENV{QMAKESPEC} = "macx-g++";
     143}
     144
    139145if (isCygwin()) {
    140146    # Copy WebKitSupportLibrary to the correct location in WebKitLibraries so it can be found.
  • trunk/WebKitTools/Scripts/webkitdirs.pm

    r26885 r27015  
    478478}
    479479
     480sub isDarwin()
     481{
     482    return ($^O eq "darwin");
     483}
     484
    480485sub isOSX()
    481486{
    482     return ($^O eq "darwin") unless (isQt() or isGtk());
     487    return isDarwin() unless (isQt() or isGtk());
    483488    return 0;
    484489}
Note: See TracChangeset for help on using the changeset viewer.