From 349e4db99e938f8ee8826b0d27e490c66a1e8356 Mon Sep 17 00:00:00 2001 From: Marcin Slusarz Date: Thu, 13 Oct 2011 18:44:40 +0200 Subject: [PATCH] st/xorg: fix build without LLVM --- src/gallium/targets/Makefile.xorg | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/gallium/targets/Makefile.xorg b/src/gallium/targets/Makefile.xorg index 9269375e851..c96eded501c 100644 --- a/src/gallium/targets/Makefile.xorg +++ b/src/gallium/targets/Makefile.xorg @@ -33,6 +33,8 @@ LD = $(CXX) LDFLAGS += $(LLVM_LDFLAGS) USE_CXX=1 DRIVER_LINKS += $(LLVM_LIBS) -lm -ldl +else +LDFLAGS += -lstdc++ endif -- 2.30.2