summaryrefslogtreecommitdiff
path: root/media-radio/qrq/files/qrq-0.3.1-tinfo.patch
blob: 83ae2b0e7bcabd44951017e71c3fb8503c46aedf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
--- a/Makefile	2017-04-03 18:45:09.028423872 +0200
+++ b/Makefile	2017-04-03 18:45:55.711048924 +0200
@@ -47,7 +47,7 @@ ifeq ($(USE_CA), YES)
 		endif
 else ifeq ($(USE_PA), YES)
 		CFLAGS:=$(CFLAGS) -D PA -pthread
-		LDFLAGS:=$(LDFLAGS) -lpulse-simple -lpulse -lncurses
+		LDFLAGS:=$(LDFLAGS) -lpulse-simple -lpulse $(shell pkg-config ncurses --libs)
 		OBJECTS=qrq.o pulseaudio.o
 else ifeq ($(USE_WIN32), YES)
 		CFLAGS:=$(CFLAGS) -D PA
@@ -55,7 +55,7 @@
 		OBJECTS=qrq.o qrq.res pdcurses.a libpthreadGC1.a 
 else
 		OBJECTS=qrq.o oss.o
-		LDFLAGS:=$(LDFLAGS) -lpthread -lncurses
+		LDFLAGS:=$(LDFLAGS) -lpthread $(shell pkg-config ncurses --libs)
 		CFLAGS:=$(CFLAGS) -D OSS
 endif