[Piglit] [PATCH 1/4] util: Link to gbm if gbm is used
Anuj Phogat
anuj.phogat at gmail.com
Mon Oct 17 19:32:23 UTC 2016
On Thu, Oct 13, 2016 at 3:09 PM, Chad Versace <chadversary at 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 at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/piglit
For the series:
Reviewed-by: Anuj Phogat <anuj.phogat at gmail.com>
More information about the Piglit
mailing list