[Mesa-dev] [PATCH v2] gbm: fix linking

Chad Versace chad.versace at linux.intel.com
Mon Aug 12 14:54:27 PDT 2013


On 08/11/2013 08:27 AM, Armin K wrote:
> Link to internal libwayland-drm library if Wayland
> EGL platform is enabled. The library needs to be
> built before gbm.
>
> Link to libdrm if gbm_dri is enabled, otherwise
> library will report undefined references to
> libdrm symbols when using libgbm without
> libdrm.
>
> Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=67962
> ---
>   src/Makefile.am     | 4 ++++
>   src/egl/Makefile.am | 4 ----
>   src/gbm/Makefile.am | 3 ++-
>   3 files changed, 6 insertions(+), 5 deletions(-)

This looks right to me,
Reviewed-by: Chad Versace <chad.versace at linux.intel.com>

But I'm no Wayland/GBM export. Before committing, I'd like
to wait a few days for a Wayland developer to comment.



More information about the mesa-dev mailing list