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 9269375e85174192bd9948bd306440780bfca683..c96eded501c4b50f42a4ab9f73c2b6102e1a54a2 100644 (file)
@@ -33,6 +33,8 @@ LD = $(CXX)
 LDFLAGS += $(LLVM_LDFLAGS)
 USE_CXX=1
 DRIVER_LINKS += $(LLVM_LIBS) -lm -ldl
+else
+LDFLAGS += -lstdc++
 endif