From 3b3ff242deea3dbcaff3efad80b35526a8a4c529 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= Date: Thu, 22 Feb 2018 19:57:03 +0100 Subject: [PATCH] test: Fix respecting $(DLOPEN_LIBS) Fix two tests that are linking to -ldl directly to use DLOPEN_LIBS. This fixes failing test build on Gentoo/FreeBSD. --- test/Makefile.am | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/Makefile.am b/test/Makefile.am index b1f0c7a..d15fcac 100644 --- a/test/Makefile.am +++ b/test/Makefile.am @@ -167,13 +167,13 @@ egl_and_glx_different_pointers_egl_glx_CPPFLAGS = $(AM_CPPFLAGS) -DUSE_EGL -DUSE glx_alias_prefer_same_name_SOURCES = glx_alias_prefer_same_name.c dlwrap.c dlwrap.h glx_alias_prefer_same_name_LDFLAGS = -rdynamic -glx_alias_prefer_same_name_LDADD = $(EPOXY) libglx_common.la $(X11_LIBS) -ldl +glx_alias_prefer_same_name_LDADD = $(EPOXY) libglx_common.la $(X11_LIBS) $(DLOPEN_LIBS) glx_beginend_LDADD = $(EPOXY) libglx_common.la $(GL_LIBS) $(X11_LIBS) glx_gles2_SOURCES = glx_gles2.c dlwrap.c dlwrap.h glx_gles2_LDFLAGS = -rdynamic -glx_gles2_LDADD = $(EPOXY) libglx_common.la $(X11_LIBS) -ldl +glx_gles2_LDADD = $(EPOXY) libglx_common.la $(X11_LIBS) $(DLOPEN_LIBS) glx_public_api_LDADD = $(EPOXY) libglx_common.la $(X11_LIBS)