From: Ryan Kavanagh Date: Thu, 27 Jul 2023 18:59:47 +0000 (+0200) Subject: Pass LDLIBS to the linker X-Git-Tag: archive/raspbian/2.12.0-1+rpi1^2~2 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=c129dae3ae0ad4798f0f1e1805755838d1df568b;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 0001-atomic_ld.patch --- diff --git a/Makefile b/Makefile index 76a4d59..720f043 100644 --- a/Makefile +++ b/Makefile @@ -19,7 +19,7 @@ include scripts/lib.mk CFLAGS += -D_FILE_OFFSET_BITS=64 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)\"