gallium/targets: Trivial crosscompiling fix
authorThomas Hellstrom <thellstrom@vmware.com>
Tue, 9 Nov 2010 11:50:12 +0000 (12:50 +0100)
committerThomas Hellstrom <thellstrom@vmware.com>
Tue, 9 Nov 2010 11:50:12 +0000 (12:50 +0100)
Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
src/gallium/targets/Makefile.dri

index 59961e982aa5c4995ef8c870028b838963a5342b..3fb4cc6b8615a48a408063e58017bf222d10a4c7 100644 (file)
@@ -80,7 +80,7 @@ $(LIBNAME): $(OBJECTS) $(MESA_MODULES) $(PIPE_DRIVERS) Makefile \
                $(OBJECTS) $(PIPE_DRIVERS) \
                 -Wl,--start-group $(MESA_MODULES) -Wl,--end-group \
                  $(DRI_LIB_DEPS) $(DRIVER_EXTRAS)
-       $(CXX) $(CFLAGS) -o $@.test $(TOP)/src/mesa/drivers/dri/common/dri_test.o $@.tmp $(DRI_LIB_DEPS);
+       $(CXX) $(CFLAGS) -o $@.test $(TOP)/src/mesa/drivers/dri/common/dri_test.o $@.tmp $(DRI_LIB_DEPS) $(LDFLAGS);
        @rm -f $@.test
        mv -f $@.tmp $@