From 417563b88a829e2da01c26a8625e22dc4f1cdc51 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Remko=20Tron=C3=A7on?= <git@el-tramo.be> Date: Sun, 24 Oct 2010 21:34:49 +0200 Subject: Link against libstdc++. diff --git a/BuildTools/SCons/SConstruct b/BuildTools/SCons/SConstruct index 8ff4f0a..34884e7 100644 --- a/BuildTools/SCons/SConstruct +++ b/BuildTools/SCons/SConstruct @@ -304,6 +304,9 @@ if conf.CheckLib("resolv") : if conf.CheckLib("c") : env["PLATFORM_FLAGS"]["LIBS"] = env["PLATFORM_FLAGS"].get("LIBS", []) + ["c"] +if conf.CheckLib("stdc++") : + env["PLATFORM_FLAGS"]["LIBS"] = env["PLATFORM_FLAGS"].get("LIBS", []) + ["stdc++"] + # LibIDN if conf.CheckCHeader("idna.h") and conf.CheckLib("idn") : env["LIBIDN_FLAGS"] = { "LIBS": ["idn"] } -- cgit v0.10.2-6-g49f6