changeset 1106:f12a2a0556cf trunk

[svn] chardet build error fix.
author yaz
date Sat, 27 May 2006 11:37:53 -0700
parents 4be4d74db123
children bd698823d808
files audacious/Makefile.in audacious/util.c
diffstat 2 files changed, 5 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/audacious/Makefile.in	Sat May 27 11:02:08 2006 -0700
+++ b/audacious/Makefile.in	Sat May 27 11:37:53 2006 -0700
@@ -12,7 +12,8 @@
 	$(GTK_LIBS)      \
 	$(LIBGLADE_LIBS) \
 	-L.. $(LTLIBINTL)     \
-	-L../libaudacious -laudacious
+	-L../libaudacious -laudacious \
+        -L../libguess $(CHARDET_LIBS)
 
 CFLAGS += \
 	$(GTK_CFLAGS)      \
--- a/audacious/util.c	Sat May 27 11:02:08 2006 -0700
+++ b/audacious/util.c	Sat May 27 11:37:53 2006 -0700
@@ -57,9 +57,11 @@
 #include "ui_playlist.h"
 
 #ifdef USE_CHARDET
-    #include <libguess.h>
+    #include "../libguess/libguess.h"
+#ifdef HAVE_UDET
     #include <libudet_c.h>
 #endif
+#endif
 
 static GQuark quark_popup_data;