From f47ce53d8cfd3463f00f6be1c902da83f4974e41 Mon Sep 17 00:00:00 2001 From: Anton Midyukov Date: Fri, 1 Sep 2023 12:46:11 +0700 Subject: [PATCH] get ldflags from jack.pc Fix build with with pipewire-jack-libs-devel. --- source/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/Makefile b/source/Makefile index 20bac6a..e3b456d 100644 --- a/source/Makefile +++ b/source/Makefile @@ -32,7 +32,7 @@ all: jconvolver fconvolver makemulti JCONVOLVER_O = jconvolver.o config.o jconfig.o audiofile.o dither.o sstring.o jclient.o -jconvolver: LDLIBS += -lzita-convolver -lfftw3f -lsndfile -lclthreads -ljack -lpthread -lrt +jconvolver: LDLIBS += -lzita-convolver -lfftw3f -lsndfile -lclthreads `pkg-config --libs jack` -lpthread -lrt jconvolver: $(JCONVOLVER_O) $(CXX) $(LDFLAGS) -o $@ $(JCONVOLVER_O) $(LDLIBS) $(JCONVOLVER_O): -- 2.33.8