--- Makefile.orig 2012-03-27 00:27:20.000000000 +0200 +++ Makefile 2012-10-02 17:19:54.924905300 +0200 @@ -7,8 +7,8 @@ PIXMAP_DIR := $(PREFIX)/share/pixmaps MANPAGE_DIR := $(PREFIX)/share/man/man1 -CFLAGS += $(shell pkg-config audacious --cflags) $(shell pkg-config dbus-1 --cflags) -DPIXMAP_DIR="\"$(PIXMAP_DIR)\"" -LIBS := $(shell pkg-config audacious --libs) $(shell pkg-config audclient --libs) $(shell pkg-config dbus-1 --libs) +CFLAGS += $(shell pkg-config audclient --cflags) $(shell pkg-config dbus-glib-1 --cflags) -DPIXMAP_DIR="\"$(PIXMAP_DIR)\"" +LIBS := $(shell pkg-config audclient --libs) $(shell pkg-config dbus-glib-1 --libs) -lX11 CFLAGS += $(shell pkg-config gtk+-2.0 --cflags) LIBS += $(shell pkg-config gtk+-2.0 --libs) @@ -17,7 +17,7 @@ HEADERS = dock-master.xpm wmauda: $(OBJS) $(HEADERS) - $(CC) -o wmauda $(OBJS) $(CFLAGS) $(LIBS) + $(CC) $(LDFLAGS) -o wmauda $(OBJS) $(CFLAGS) $(LIBS) all: wmauda