diff options
author | Kristian Høgsberg <krh@bitplanet.net> | 2010-03-23 15:47:49 -0400 |
---|---|---|
committer | Kristian Høgsberg <krh@bitplanet.net> | 2010-03-23 15:50:23 -0400 |
commit | ba5a53edd12fac24c176e714560b1f9ec255bbdb (patch) | |
tree | 2b01221505e8fc2d57056b7cf883bbe0dae44e24 | |
parent | 3d99e990c078f3e1096e7d09bc686643e71d5681 (diff) | |
download | external_mesa3d-ba5a53edd12fac24c176e714560b1f9ec255bbdb.zip external_mesa3d-ba5a53edd12fac24c176e714560b1f9ec255bbdb.tar.gz external_mesa3d-ba5a53edd12fac24c176e714560b1f9ec255bbdb.tar.bz2 |
dri: Add $(DRI_LIB_DEPS) when linking the test binary
This will make sure we pick up libdrm_$(chipset).so from the right place.
-rw-r--r-- | src/gallium/winsys/drm/Makefile.template | 2 | ||||
-rw-r--r-- | src/mesa/drivers/dri/Makefile.template | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/winsys/drm/Makefile.template b/src/gallium/winsys/drm/Makefile.template index 7146e11..8c16094 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 $@.test $(TOP)/src/mesa/drivers/dri/common/dri_test.o $@.tmp -L$(TOP)/lib -lGL + $(CC) -o $@.test $(TOP)/src/mesa/drivers/dri/common/dri_test.o $@.tmp $(DRI_LIB_DEPS) -L$(TOP)/lib -lGL @rm -f $@.test mv -f $@.tmp $@ diff --git a/src/mesa/drivers/dri/Makefile.template b/src/mesa/drivers/dri/Makefile.template index 15682b7..cd800e5 100644 --- a/src/mesa/drivers/dri/Makefile.template +++ b/src/mesa/drivers/dri/Makefile.template @@ -54,7 +54,7 @@ $(LIBNAME): $(OBJECTS) $(MESA_MODULES) $(EXTRA_MODULES) Makefile \ $(TOP)/src/mesa/drivers/dri/Makefile.template $(TOP)/src/mesa/drivers/dri/common/dri_test.o $(MKLIB) -o $@.tmp -noprefix -linker '$(CC)' -ldflags '$(LDFLAGS)' \ $(OBJECTS) $(MESA_MODULES) $(EXTRA_MODULES) $(DRI_LIB_DEPS) - $(CC) -o $@.test $(TOP)/src/mesa/drivers/dri/common/dri_test.o $@.tmp -L$(TOP)/lib -lGL + $(CC) -o $@.test $(TOP)/src/mesa/drivers/dri/common/dri_test.o $@.tmp $(DRI_LIB_DEPS) -L$(TOP)/lib -lGL @rm -f $@.test mv -f $@.tmp $@ |