Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37910493
en ru br
ALT Linux repos
S:1.0.3-alt3

Group :: Sound
RPM: jconvolver

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Patch: jconvolver-1.0.3-get_ldflags_from_jack_pc.patch
Download


From f47ce53d8cfd3463f00f6be1c902da83f4974e41 Mon Sep 17 00:00:00 2001
From: Anton Midyukov <antohami@altlinux.org>
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
 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin