<html>
    <head>
      <base href="https://bugs.freedesktop.org/" />
    </head>
    <body><span class="vcard"><a class="email" href="mailto:sardemff7+freedesktop@sardemff7.net" title="Quentin "Sardem FF7" Glidic <sardemff7+freedesktop@sardemff7.net>"> <span class="fn">Quentin "Sardem FF7" Glidic</span></a>
</span> changed
              <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW --- - Cannot build against EGL without X11"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=64959">bug 64959</a>
        <br>
             <table border="1" cellspacing="0" cellpadding="8">
          <tr>
            <th>What</th>
            <th>Removed</th>
            <th>Added</th>
          </tr>

         <tr>
           <td style="text-align:right;">CC</td>
           <td>
                
           </td>
           <td>sardemff7+freedesktop@sardemff7.net
           </td>
         </tr></table>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW --- - Cannot build against EGL without X11"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=64959#c3">Comment # 3</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW --- - Cannot build against EGL without X11"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=64959">bug 64959</a>
              from <span class="vcard"><a class="email" href="mailto:sardemff7+freedesktop@sardemff7.net" title="Quentin "Sardem FF7" Glidic <sardemff7+freedesktop@sardemff7.net>"> <span class="fn">Quentin "Sardem FF7" Glidic</span></a>
</span></b>
        <pre>(In reply to <a href="show_bug.cgi?id=64959#c2">comment #2</a>)
<span class="quote">> Does adding -DWL_EGL_PLATFORM to CFLAGS fix the problem? That seems to be
> the right define to use when building in a pure Wayland system.</span >

On a pure Wayland system, that works fine.


<span class="quote">> Don't use -DMESA_EGL_NO_X11_HEADERS, because that may break ABI on 32-bit
> systems. The definitions of the EGLNative types in that block are 32-bit
> instead of 64-bit.</span >

What is the correct solution when you have both Wayland and X11 EGL then?
Should we define -DWL_EGL_PLATFORM as soon as wayland EGL support is enabled?
Depends on the ordering of --with-egl-platforms?

As soon as there is an identified solution, I will provide a patch to add the
needed flags to the egl.pc file.</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>