From 780dda1c86662262e4ae760644ad1573a801dcd1 Mon Sep 17 00:00:00 2001 From: Ryan Kavanagh Date: Wed, 13 Jul 2022 19:40:37 +0100 Subject: [PATCH] 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 --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 226c375..528c353 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)\" -- 2.30.2