termux-packages/packages/cava/Makefile.am.patch
2020-06-20 23:01:35 +03:00

21 lines
733 B
Diff

diff -uNr cava-0.7.0/Makefile.am cava-0.7.0.mod/Makefile.am
--- cava-0.7.0/Makefile.am 2020-05-26 23:29:47.000000000 +0300
+++ cava-0.7.0.mod/Makefile.am 2020-06-20 22:56:16.822969805 +0300
@@ -11,15 +11,13 @@
bin_PROGRAMS = cava
cava_SOURCES = cava.c config.c input/common.c input/fifo.c input/shmem.c \
output/terminal_noncurses.c output/raw.c
-cava_LDFLAGS = -L/usr/local/lib -Wl,-rpath /usr/local/lib
+cava_LDFLAGS =
cava_CPPFLAGS = -DPACKAGE=\"$(PACKAGE)\" -DVERSION=\"$(VERSION)\" \
-D_POSIX_SOURCE -D _POSIX_C_SOURCE=200809L
cava_CFLAGS = -std=c99 -Wall -Wextra -Wno-unused-result -Wno-maybe-uninitialized
if OSX
cava_CFLAGS += -DNORT
-else
- cava_LDFLAGS += -lrt
endif
if ALSA