summaryrefslogtreecommitdiffstats
path: root/x11-plugins/wmauda/files/link-against-missing-libraries.patch
blob: ec34567e62e8774678b79759326f8837a77093ae (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
Description: link against libdbus-glib-1 and libX11
Author: Sebastian Ramacher <sramacher@debian.org>
Bug-Debian: http://bugs.debian.org/713481
Last-Update: 2013-07-19

--- a/Makefile
+++ b/Makefile
@@ -7,11 +7,11 @@
 PIXMAP_DIR	:= $(PREFIX)/share/pixmaps
 MANPAGE_DIR	:= $(PREFIX)/share/man/man1
 
-CFLAGS 	+= $(shell pkg-config audacious --cflags) $(shell pkg-config dbus-1 --cflags)
-LIBS 	:= $(shell pkg-config audacious --libs) $(shell pkg-config audclient --libs)  $(shell pkg-config dbus-1 --libs)
+CFLAGS 	+= $(shell pkg-config dbus-glib-1 --cflags)
+LIBS 	:= $(shell pkg-config audclient --libs)  $(shell pkg-config dbus-glib-1 --libs)
 
 CFLAGS  += $(shell pkg-config gtk+-2.0 --cflags)
-LIBS    += $(shell pkg-config gtk+-2.0 --libs)
+LIBS    += $(shell pkg-config gtk+-2.0 --libs) -lX11
 
 OBJS 	= wmauda.o
 HEADERS = config.h dock-master.xpm