summaryrefslogtreecommitdiffstats
path: root/src/gallium/winsys/drm/Makefile.template
diff options
context:
space:
mode:
authorKristian Høgsberg <[email protected]>2010-03-23 15:47:49 -0400
committerKristian Høgsberg <[email protected]>2010-03-23 15:50:23 -0400
commitba5a53edd12fac24c176e714560b1f9ec255bbdb (patch)
tree2b01221505e8fc2d57056b7cf883bbe0dae44e24 /src/gallium/winsys/drm/Makefile.template
parent3d99e990c078f3e1096e7d09bc686643e71d5681 (diff)
dri: Add $(DRI_LIB_DEPS) when linking the test binary
This will make sure we pick up libdrm_$(chipset).so from the right place.
Diffstat (limited to 'src/gallium/winsys/drm/Makefile.template')
-rw-r--r--src/gallium/winsys/drm/Makefile.template2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/winsys/drm/Makefile.template b/src/gallium/winsys/drm/Makefile.template
index 7146e112d04..8c16094688c 100644
--- a/src/gallium/winsys/drm/Makefile.template
+++ b/src/gallium/winsys/drm/Makefile.template
@@ -69,7 +69,7 @@ $(LIBNAME): $(OBJECTS) $(MESA_MODULES) $(PIPE_DRIVERS) Makefile \
$(OBJECTS) $(PIPE_DRIVERS) \
-Wl,--start-group $(MESA_MODULES) -Wl,--end-group \
$(DRI_LIB_DEPS) $(DRIVER_EXTRAS)
- $(CC) -o [email protected] $(TOP)/src/mesa/drivers/dri/common/dri_test.o [email protected] -L$(TOP)/lib -lGL
+ $(CC) -o [email protected] $(TOP)/src/mesa/drivers/dri/common/dri_test.o [email protected] $(DRI_LIB_DEPS) -L$(TOP)/lib -lGL