On Thu, Oct 13, 2016 at 3:09 PM, Chad Versace <chadvers...@chromium.org> wrote:
> If PIGLIT_HAS_GBM, then add GBM_LDFLAGS to the linker flags. Fixes
> undefined symbol errors at link time for me, using Arch Linux.
> ---
>  tests/util/CMakeLists.txt | 3 +++
>  1 file changed, 3 insertions(+)
>
> diff --git a/tests/util/CMakeLists.txt b/tests/util/CMakeLists.txt
> index 3d5bef5..277386e 100644
> --- a/tests/util/CMakeLists.txt
> +++ b/tests/util/CMakeLists.txt
> @@ -81,6 +81,9 @@ if(PIGLIT_USE_WAFFLE)
>                 list(APPEND UTIL_GL_SOURCES
>                         piglit-framework-gl/piglit_gbm_framework.c
>                 )
> +               list(APPEND UTIL_GL_LIBS
> +                       ${GBM_LDFLAGS}
> +               )
>         endif()
>         if(PIGLIT_HAS_WAYLAND)
>                 list(APPEND UTIL_GL_SOURCES
> --
> 2.10.0
>
> _______________________________________________
> Piglit mailing list
> Piglit@lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/piglit

For the series:
Reviewed-by: Anuj Phogat <anuj.pho...@gmail.com>
_______________________________________________
Piglit mailing list
Piglit@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/piglit

Reply via email to