--- configure.orig	2005-06-18 21:54:39.000000000 -0400
+++ configure	2005-06-18 21:55:10.000000000 -0400
@@ -1388,7 +1388,7 @@
             FLDSONAME="libfltk_forms.$FL_API_VERSION.dylib"
             GLDSONAME="libfltk_gl.$FL_API_VERSION.dylib"
             IMGDSONAME="libfltk_images.$FL_API_VERSION.dylib"
-	    DSOCOMMAND="\$(CC) $DSOFLAGS -dynamiclib -lc -o"
+	    DSOCOMMAND="\$(CXX) $DSOFLAGS -dynamiclib -o"
 	    ;;
 
 	SunOS* | UNIX_S*)
