changeset 1870:2a5ee6ed598d

console: Remove useless #include and related useless DBUS deps from Makefile; Fixed Makefile to actually build the plugin correctly.
author Matti Hamalainen <ccr@tnsp.org>
date Tue, 25 Sep 2007 18:16:25 +0300
parents a727b88f2578
children 0380796ac439
files src/console/Audacious_Driver.cxx src/console/Makefile
diffstat 2 files changed, 4 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/src/console/Audacious_Driver.cxx	Tue Sep 25 18:15:03 2007 +0300
+++ b/src/console/Audacious_Driver.cxx	Tue Sep 25 18:16:25 2007 +0300
@@ -12,7 +12,6 @@
 #include <audacious/i18n.h>
 #include <gtk/gtk.h>
 extern "C" {
-#include "audacious/main.h"
 #include "audacious/tuple.h"
 #include "audacious/tuple_formatter.h"
 #include "audacious/util.h"
--- a/src/console/Makefile	Tue Sep 25 18:15:03 2007 +0300
+++ b/src/console/Makefile	Tue Sep 25 18:16:25 2007 +0300
@@ -55,7 +55,9 @@
 include ../../buildsys.mk
 include ../../extra.mk
 
-CPPFLAGS += ${PLUGIN_CPPFLAGS} ${MOWGLI_CFLAGS} ${GTK_CFLAGS} ${GLIB_CFLAGS} ${PANGO_CFLAGS} ${ARCH_DEFINES} ${DBUS_CFLAGS} -I../../intl -I../..
+LD = ${CXX}
+
+CPPFLAGS += ${PLUGIN_CPPFLAGS} ${MOWGLI_CFLAGS} ${GTK_CFLAGS} ${GLIB_CFLAGS} ${PANGO_CFLAGS} ${ARCH_DEFINES} -I../../intl -I../..
 CFLAGS += ${PLUGIN_CFLAGS}
 CXXFLAGS += ${PLUGIN_CFLAGS}
-LIBS += -lz ${GTK_LIBS} ${GLIB_LIBS} ${PANGO_LIBS}$ ${DBUS_LIB} 
+LIBS += -lz ${GTK_LIBS} ${GLIB_LIBS} ${PANGO_LIBS}