summaryrefslogtreecommitdiff
path: root/recipes/gpe-soundserver/gpe-soundserver-0.4-1/makefile-breakage.patch
blob: 59bffac6c18068438bd0c2f900e682ea9b6b79f3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
--- gpe-soundserver-0.4-1/Makefile~	2004-08-18 16:00:22.000000000 +0100
+++ gpe-soundserver-0.4-1/Makefile	2004-08-18 16:17:39.000000000 +0100
@@ -15,7 +15,7 @@
 endif
 CPPFLAGS += -DPACKAGE=\"$(PACKAGE)\" -DPREFIX=\"$(PREFIX)\" -DPACKAGE_LOCALE_DIR=\"$(PREFIX)/share/locale\"
 
-LDFLAGS += `pkg-config --libs x11`
+PACKAGE_LDFLAGS += `pkg-config --libs x11 xau`
 
 OBJS = $(patsubst %,%.o,$(MEMBERS))
 
@@ -30,10 +30,10 @@
 all: $(PACKAGE) wrapesd
 
 $(PACKAGE): $(OBJS)
-	$(CC) -o $@ $^ $(LDFLAGS)
+	$(CC) -o $@ $^ $(LDFLAGS) $(PACKAGE_LDFLAGS)
 
 wrapesd: wrapesd.o
-	$(CC) -o $@ $^ $(LDFLAGS)
+	$(CC) -o $@ $^ $(LDFLAGS) $(PACKAGE_LDFLAGS)
 
 install-program: all
 	install -d $(DESTDIR)$(PREFIX)/bin