From 82797787358bb8246497d59afd8e1304de7c1682 Mon Sep 17 00:00:00 2001 From: Erik de Castro Lopo Date: Sat, 9 Jul 2016 21:55:07 +1000 Subject: [PATCH] flac++.pc.in: Make flac a private requires Patch pulled from Debian package. Description: Chain::Status::as_cstring uses FLAC__Metadata_ChainStatusString which is in libFLAC. Since the function is inline, every program calling this function must also link with -lflac, but this is missing in flac++.pc. Bug-Debian: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=713645 --- src/libFLAC++/flac++.pc.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libFLAC++/flac++.pc.in b/src/libFLAC++/flac++.pc.in index 242998df..f09c251a 100644 --- a/src/libFLAC++/flac++.pc.in +++ b/src/libFLAC++/flac++.pc.in @@ -6,6 +6,6 @@ includedir=@includedir@ Name: FLAC++ Description: Free Lossless Audio Codec Library (C++ API) Version: @VERSION@ -Requires.private: flac +Requires: flac Libs: -L${libdir} -lFLAC++ Cflags: -I${includedir}