blob: 7c0d484050977e16d2798dbee3a5546c4c7b6c16 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
--- Makefile.orig 2012-02-13 23:25:44.000000000 +0100
+++ Makefile 2012-02-13 23:26:16.000000000 +0100
@@ -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)
-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)
+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 = config.h dock-master.xpm
wmauda: $(OBJS) $(HEADERS)
- $(CC) -o wmauda $(OBJS) $(CFLAGS) $(LIBS)
+ $(CC) $(LDFLAGS) -o wmauda $(OBJS) $(CFLAGS) $(LIBS)
all: wmauda
|