From 7393996cfe0136f130a6a23bb9fb6f4ddce82d87 Mon Sep 17 00:00:00 2001 From: Grigori Goronzy Date: Sun, 25 Sep 2011 02:18:20 +0200 Subject: pkg-config: tailor libass.pc for static-only builds Add library and package dependencies to the default (non-private) pkg-config fields for static-only builds. This makes sure the packages and libraries are always picked up and used, even if the --static option is not supplied to the pkg-config commandline. --- libass.pc.in | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'libass.pc.in') diff --git a/libass.pc.in b/libass.pc.in index 137aac9..e087835 100644 --- a/libass.pc.in +++ b/libass.pc.in @@ -6,7 +6,8 @@ includedir=@includedir@ Name: libass Description: LibASS is an SSA/ASS subtitles rendering library Version: @PACKAGE_VERSION@ -Requires.private: @PKG_REQUIRES@ -Libs: -L${libdir} -lass -Libs.private: -lm +Requires: @PKG_REQUIRES_DEFAULT@ +Requires.private: @PKG_REQUIRES_PRIVATE@ +Libs: -L${libdir} -lass @PKG_LIBS_DEFAULT@ +Libs.private: @PKG_LIBS_PRIVATE@ Cflags: -I${includedir} -- cgit v1.2.3