From: Ryan Kavanagh Date: Wed, 19 Aug 2020 09:42:31 +0000 (+0100) Subject: Pass LDLIBS to the linker X-Git-Tag: archive/raspbian/2.9.1-1+rpi1~2 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=e2c4980163821db387c3ce36674dc655a195ecd9;p=cmus.git Pass LDLIBS to the linker Origin: Debian Bug-Debian: http://bugs.debian.org/935678 Forwarded: no Reviewed-by: Ryan Kavanagh Last-Update: 2019-09-07 Needed to pass -latomic at the end so that we can fix a FTBFS on various architectures. Last-Update: 2019-09-07 Gbp-Pq: Name 13-atomic_ld.patch --- diff --git a/Makefile b/Makefile index de8cdc3..867699e 100644 --- a/Makefile +++ b/Makefile @@ -22,7 +22,7 @@ FFMPEG_CFLAGS += $(shell pkg-config --cflags libswresample) FFMPEG_LIBS += $(shell pkg-config --libs libswresample) CMUS_LIBS = $(PTHREAD_LIBS) $(NCURSES_LIBS) $(ICONV_LIBS) $(DL_LIBS) $(DISCID_LIBS) \ - -lm $(COMPAT_LIBS) $(LIBSYSTEMD_LIBS) + -lm $(COMPAT_LIBS) $(LIBSYSTEMD_LIBS) $(LDLIBS) command_mode.o input.o main.o ui_curses.o op/pulse.lo: .version command_mode.o input.o main.o ui_curses.o op/pulse.lo: CFLAGS += -DVERSION=\"$(VERSION)\"