You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/media-radio/qrq/files/qrq-0.3.2-tinfo.patch

21 lines
642 B

--- a/Makefile
+++ b/Makefile
@@ -56,7 +56,7 @@
endif
else ifeq ($(USE_PA), YES)
CFLAGS:=$(CFLAGS) -D PA -pthread
- LDFLAGS:=$(LDFLAGS) -lpthread -lpulse-simple -lpulse -lncurses
+ LDFLAGS:=$(LDFLAGS) -lpthread -lpulse-simple -lpulse $(shell ${PKG_CONFIG} ncurses --libs)
OBJECTS=qrq.o pulseaudio.o
else ifeq ($(USE_WIN32), YES)
CFLAGS:=$(CFLAGS) -D WIN32 -Iinclude -Iinclude/ncursesw
@@ -64,7 +64,7 @@
OBJECTS=qrq.o qrq.res lib/libncursesw.a
else
OBJECTS=qrq.o oss.o
- LDFLAGS:=$(LDFLAGS) -lpthread -lncurses
+ LDFLAGS:=$(LDFLAGS) -lpthread $(shell ${PKG_CONFIG} ncurses --libs)
CFLAGS:=$(CFLAGS) -D OSS
endif