From 9b7480cd95c2d1259e23bfb5549cefaa94ebaca1 Mon Sep 17 00:00:00 2001 From: Vinson Lee Date: Thu, 19 Aug 2010 18:09:24 -0700 Subject: [PATCH] configs: Add -lstdc++ to default. This fixes the following error when trying to run glxinfo or glxgears with swrast. undefined symbol: __cxa_pure_virtual --- configs/default | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configs/default b/configs/default index 4f6334b43ba..cdfa811b103 100644 --- a/configs/default +++ b/configs/default @@ -116,7 +116,7 @@ EGL_CLIENT_APIS = $(GL_LIB) # Library dependencies #EXTRA_LIB_PATH ?= -GL_LIB_DEPS = $(EXTRA_LIB_PATH) -lX11 -lXext -lm -lpthread -ltalloc +GL_LIB_DEPS = $(EXTRA_LIB_PATH) -lX11 -lXext -lm -lpthread -ltalloc -lstdc++ EGL_LIB_DEPS = $(EXTRA_LIB_PATH) -ldl -lpthread OSMESA_LIB_DEPS = $(EXTRA_LIB_PATH) -L$(TOP)/$(LIB_DIR) -l$(GL_LIB) GLU_LIB_DEPS = $(EXTRA_LIB_PATH) -L$(TOP)/$(LIB_DIR) -l$(GL_LIB) -lm -- 2.30.2