2008-03-02  Brent Fulgham  <bfulgham@gmail.com>

        Reviewed by Alp Toker.

        http://bugs.webkit.org/show_bug.cgi?id=17415
        GTK Build (using autotools) on Mac OS (DarwinPorts) Fails

        Add -lstdc++ to link flags for minidom program.  This corrects
        a build error for the GTK+ on Mac OS.

        Add ICU_CPPFLAGS earlier in include path for WebCore
        so that we find $(icu_cppflags)/unicode/utf8.h, rather than
        the wtf/unicode/UTF8.h on case-insensitive file systems.

        Remove some needless LIBS.


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@30707 268f45cc-cd09-0410-ab3c-d52691b4dbfc
diff --git a/JavaScriptCore/GNUmakefile.am b/JavaScriptCore/GNUmakefile.am
index 63e604c..9fac10d 100644
--- a/JavaScriptCore/GNUmakefile.am
+++ b/JavaScriptCore/GNUmakefile.am
@@ -159,8 +159,7 @@
 	$(GLOBALDEPS_CFLAGS)
 Programs_minidom_LDADD = \
 	 libJavaScriptCore.la \
-	$(GLOBALDEPS_LIBS) \
-	$(ICU_LIBS)
+	 -lstdc++
 Programs_minidom_LDFLAGS = -rpath $(CURDIR)/.libs
 
 # testkjs
@@ -171,9 +170,7 @@
 	$(global_cflags) \
 	$(GLOBALDEPS_CFLAGS)
 Programs_testkjs_LDADD = \
-	libJavaScriptCore.la \
-	$(GLOBALDEPS_LIBS) \
-	$(ICU_LIBS)
+	libJavaScriptCore.la
 Programs_testkjs_LDFLAGS = -rpath $(CURDIR)/.libs
 
 # Clean rules for JavaScriptCore