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 59961e9..3fb4cc6 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 $@