<html>
    <head>
      <base href="https://bugs.webkit.org/" />
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - [GTK] r186800 broke the build on Ubuntu 14.04"
   href="https://bugs.webkit.org/show_bug.cgi?id=147559#c5">Comment # 5</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - [GTK] r186800 broke the build on Ubuntu 14.04"
   href="https://bugs.webkit.org/show_bug.cgi?id=147559">bug 147559</a>
              from <span class="vcard"><a class="email" href="mailto:cgarcia&#64;igalia.com" title="Carlos Garcia Campos &lt;cgarcia&#64;igalia.com&gt;"> <span class="fn">Carlos Garcia Campos</span></a>
</span></b>
        <pre>(In reply to <a href="show_bug.cgi?id=147559#c4">comment #4</a>)
<span class="quote">&gt; (In reply to <a href="show_bug.cgi?id=147559#c1">comment #1</a>)
&gt; &gt; We can get that info from the targets variable of the pkg-config file.
&gt; 
&gt; You already have GTK3_SUPPORTS_X11 and GTK3_SUPPORTS_WAYLAND, so the thing
&gt; to do is to check them and set ENABLE_X11_TARGET and ENABLE_WAYLAND_TARGET
&gt; accordingly. This has to be done after calling find_package(GTK3) and
&gt; *before* calling WEBKIT_OPTION_END. This will require dropping the required
&gt; GTK+ version from the call to find_package, since it's not possible to know
&gt; until after WEBKIT_OPTION_END, and then checking it manually in an if
&gt; statement using the VERSION_LESS operator after WEBKIT_OPTION_END.</span >

Could you write a patch instead of telling us how to do it? :-)</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>