$OpenBSD: patch-gcc_cp_g++spec_c,v 1.2 2009/04/16 18:36:48 espie Exp $
--- gcc/cp/g++spec.c.orig	Fri Aug 31 10:27:50 2007
+++ gcc/cp/g++spec.c	Tue Apr  7 19:38:59 2009
@@ -39,7 +39,7 @@ along with GCC; see the file COPYING3.  If not see
 #endif
 
 #ifndef LIBSTDCXX
-#define LIBSTDCXX "-lstdc++"
+#define LIBSTDCXX "-lestdc++"
 #endif
 #ifndef LIBSTDCXX_PROFILE
 #define LIBSTDCXX_PROFILE LIBSTDCXX
