From acd3b38d6e2314a5070a408dd6f310e91f4958a4 Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Fri, 13 Dec 2013 12:27:55 -0800 Subject: [PATCH] Relink tests when the library changes. For the dynamically-linked tests, it wasn't a big deal because the updated library was always picked up. But for glx_static, we were actually testing stale code. --- test/Makefile.am | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/test/Makefile.am b/test/Makefile.am index 4d78be6..64b255d 100644 --- a/test/Makefile.am +++ b/test/Makefile.am @@ -87,25 +87,25 @@ WGL_LIBS = libwgl_common.la endif egl_has_extension_nocontext_LDFLAGS = $(X11_LIBS) $(EPOXY) libegl_common.la -egl_has_extension_nocontext_DEPENDENCIES = libegl_common.la +egl_has_extension_nocontext_DEPENDENCIES = $(EPOXY) libegl_common.la glx_beginend_LDFLAGS = $(X11_LIBS) $(EPOXY) libglx_common.la $(GL_LIBS) -glx_beginend_DEPENDENCIES = libglx_common.la +glx_beginend_DEPENDENCIES = $(EPOXY) libglx_common.la glx_public_api_LDFLAGS = $(X11_LIBS) $(EPOXY) libglx_common.la -glx_public_api_DEPENDENCIES = libglx_common.la +glx_public_api_DEPENDENCIES = $(EPOXY) libglx_common.la glx_public_api_core_LDFLAGS = $(X11_LIBS) $(EPOXY) libglx_common.la -glx_public_api_core_DEPENDENCIES = libglx_common.la +glx_public_api_core_DEPENDENCIES = $(EPOXY) libglx_common.la glx_glxgetprocaddress_nocontext_LDFLAGS = $(X11_LIBS) $(EPOXY) libglx_common.la -glx_glxgetprocaddress_nocontext_DEPENDENCIES = libglx_common.la +glx_glxgetprocaddress_nocontext_DEPENDENCIES = $(EPOXY) libglx_common.la glx_has_extension_nocontext_LDFLAGS = $(X11_LIBS) $(EPOXY) libglx_common.la -glx_has_extension_nocontext_DEPENDENCIES = libglx_common.la +glx_has_extension_nocontext_DEPENDENCIES = $(EPOXY) libglx_common.la glx_static_LDFLAGS = -ldl $(X11_LIBS) -static $(EPOXY) libglx_common.la -glx_static_DEPENDENCIES = libglx_common.la +glx_static_DEPENDENCIES = $(EPOXY) libglx_common.la wgl_core_and_exts_LDFLAGS = $(EPOXY) libwgl_common.la -lgdi32 -wgl_core_and_exts_DEPENDENCIES = libwgl_common.la +wgl_core_and_exts_DEPENDENCIES = $(EPOXY) libwgl_common.la