summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2018-02-22 19:57:03 +0100
committerMichał Górny <mgorny@gentoo.org>2018-02-22 19:58:40 +0100
commit3b3ff242deea3dbcaff3efad80b35526a8a4c529 (patch)
tree4b5b41507a66d59c82042f35a93f355477ce1d68 /test
parent88c0c4858ec8d10fbc3da1db51a01e7c0623dde9 (diff)
downloadlibepoxy-3b3ff242deea3dbcaff3efad80b35526a8a4c529.tar.gz
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.
Diffstat (limited to 'test')
-rw-r--r--test/Makefile.am4
1 files 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)