st/xorg: fix build without LLVM
authorMarcin Slusarz <marcin.slusarz@gmail.com>
Thu, 13 Oct 2011 16:44:40 +0000 (18:44 +0200)
committerMarcin Slusarz <marcin.slusarz@gmail.com>
Thu, 13 Oct 2011 17:02:20 +0000 (19:02 +0200)
src/gallium/targets/Makefile.xorg

index 9269375..c96eded 100644 (file)
@@ -33,6 +33,8 @@ LD = $(CXX)
 LDFLAGS += $(LLVM_LDFLAGS)
 USE_CXX=1
 DRIVER_LINKS += $(LLVM_LIBS) -lm -ldl
+else
+LDFLAGS += -lstdc++
 endif