https://bugs.freedesktop.org/show_bug.cgi?id=70264
Priority: medium
Bug ID: 70264
Assignee: [email protected]
Summary: EGL pkg-config does not provide correct cflags
Severity: minor
Classification: Unclassified
OS: Linux (All)
Reporter: [email protected]
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.
_______________________________________________
mesa-dev mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/mesa-dev