[Mesa-dev] [Bug 70264] New: EGL pkg-config does not provide correct cflags

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon Oct 7 17:04:39 PDT 2013


https://bugs.freedesktop.org/show_bug.cgi?id=70264

          Priority: medium
            Bug ID: 70264
          Assignee: mesa-dev at lists.freedesktop.org
           Summary: EGL pkg-config does not provide correct cflags
          Severity: minor
    Classification: Unclassified
                OS: Linux (All)
          Reporter: peasteven at gmail.com
          Hardware: x86-64 (AMD64)
            Status: NEW
           Version: 9.2
         Component: EGL
           Product: Mesa

The current egl.pc has the following line:

    "Cflags: -I${includedir}"

This results in the following pkg-config output, which results in missing
<EGL/egl.h> errors:

    $ pkg-config egl --cflags
    -I/usr/include/libdrm

A fix is to add a trailing slash on the end:

    "Cflags: -I${includedir}/"

This results in the following output:

    $ pkg-config egl --cflags
    -I/usr/include/ -I/usr/include/libdrm

Which will allow compilation with the usual <EGL/egl.h>

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20131008/c0929c65/attachment.html>


More information about the mesa-dev mailing list