summaryrefslogtreecommitdiffstats
path: root/libass.pc.in
diff options
context:
space:
mode:
authorGrigori Goronzy <greg@blackbox>2011-09-25 02:18:20 +0200
committerGrigori Goronzy <greg@blackbox>2011-09-25 02:18:20 +0200
commit7393996cfe0136f130a6a23bb9fb6f4ddce82d87 (patch)
tree776a0edebfa7fdb46648611b999c40a59545a29d /libass.pc.in
parentaf2b0f796376cb940eb5abaa7cec873ef75ccf30 (diff)
downloadlibass-7393996cfe0136f130a6a23bb9fb6f4ddce82d87.tar.bz2
libass-7393996cfe0136f130a6a23bb9fb6f4ddce82d87.tar.xz
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.
Diffstat (limited to 'libass.pc.in')
-rw-r--r--libass.pc.in7
1 files changed, 4 insertions, 3 deletions
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}