--- a/configure Thu Feb 02 19:22:49 2012 +0100 +++ b/configure Fri Feb 03 15:43:44 2012 +0100 @@ -590,7 +590,7 @@ if [ "$SUB_TARGET" = "unix" ]; then if [ "$LD" = "" ]; then - LD=$CC + LD=$CXX fi fi