Ignore:
Timestamp:
Jul 26, 2011, 2:49:03 PM (14 years ago)
Author:
[email protected]
Message:

Unreviewed build fix for Qt/Linux.

On platforms with no glib and gstreamer we should not build javascriptcore
with the Glib support. This is related to http://trac.webkit.org/changeset/91752.

  • wtf/wtf.pri:
File:
1 edited

Legend:

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

    r91752 r91787  
    4343
    4444linux-*:!contains(DEFINES, USE_QTMULTIMEDIA=1) {
    45     DEFINES += ENABLE_GLIB_SUPPORT=1
    46     PKGCONFIG += glib-2.0 gio-2.0
    47     CONFIG += link_pkgconfig
     45    system(pkg-config --exists glib-2.0 gio-2.0 gstreamer-0.10): {
     46        DEFINES += ENABLE_GLIB_SUPPORT=1
     47        PKGCONFIG += glib-2.0 gio-2.0
     48        CONFIG += link_pkgconfig
     49    }
    4850}
    4951
Note: See TracChangeset for help on using the changeset viewer.