[vlc-commits] contrib: patch libass.pc for static linking
Rémi Denis-Courmont
git at videolan.org
Wed Aug 3 17:06:44 CEST 2011
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Wed Aug 3 10:54:00 2011 +0300| [e0b9d2978586ec803960b891601ca8a18c106505] | committer: Rémi Denis-Courmont
contrib: patch libass.pc for static linking
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=e0b9d2978586ec803960b891601ca8a18c106505
---
contrib/src/ass/libass-pkg-static.patch | 13 +++++++++++++
contrib/src/ass/rules.mak | 1 +
2 files changed, 14 insertions(+), 0 deletions(-)
diff --git a/contrib/src/ass/libass-pkg-static.patch b/contrib/src/ass/libass-pkg-static.patch
new file mode 100644
index 0000000..60109c5
--- /dev/null
+++ b/contrib/src/ass/libass-pkg-static.patch
@@ -0,0 +1,13 @@
+diff -ru libass.orig/libass.pc.in libass/libass.pc.in
+--- libass.orig/libass.pc.in 2011-08-03 10:52:37.000000000 +0300
++++ libass/libass.pc.in 2011-08-03 10:52:56.000000000 +0300
+@@ -6,7 +6,6 @@
+ 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@
++Libs: -L${libdir} -lass -lm
+ Cflags: -I${includedir}
diff --git a/contrib/src/ass/rules.mak b/contrib/src/ass/rules.mak
index 8fb9a61..29302e0 100644
--- a/contrib/src/ass/rules.mak
+++ b/contrib/src/ass/rules.mak
@@ -14,6 +14,7 @@ $(TARBALLS)/libass-$(ASS_VERSION).tar.gz:
libass: libass-$(ASS_VERSION).tar.gz .sum-ass
$(UNPACK)
+ $(APPLY) $(SRC)/ass/libass-pkg-static.patch
$(MOVE)
DEPS_ass = freetype2 $(DEPS_freetype2) fontconfig $(DEPS_fontconfig)
More information about the vlc-commits
mailing list