[Buildroot] [PATCH 1/1] package/x11r7/libepoxy: fix OpenGL / EGL dependencies

Bernd Kuhls bernd.kuhls at t-online.de
Sat Aug 8 12:46:05 UTC 2015


Hi Thomas,

Am Sat, 08 Aug 2015 10:59:57 +0200 schrieb Thomas Petazzoni:

>> +# needed for rpi-userland +LIBEPOXY_CFLAGS +=
>> `$(PKG_CONFIG_HOST_BINARY) --cflags egl`
> 
> This is no-op: the package infrastructure doesn't understand

oops, I did not notice because I tested the patch together with
the version bump to 1.3.1 where configure.ac uses pkgconf to
find the egl headers.

> <pkg>_CFLAGS. So is it really needed? If yes, then you need:
> 
> LIBEPOXY_CONF_ENV += CFLAGS="$(TARGET_CFLAGS) $(LIBEPOXY_CFLAGS)"
> 
> Could you rework the patch accordingly? I could fix it myself, but I'd
> like to know whether those CFLAGS are actually needed (I believe they
> are since rpi-userland has headers in non-standard locations).

The patch is needed indeed for epoxy v1.2 so I reworked the patch:
http://patchwork.ozlabs.org/patch/505313/

and removed the lines again in the bump to 1.3.1 ;)
http://patchwork.ozlabs.org/patch/505312/

Regards, Bernd




More information about the buildroot mailing list