st/xorg: fix build without LLVM
[mesa.git] / 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