[vlc-commits] contrib: fix zvbi .pc
Rafaël Carré
git at videolan.org
Wed Nov 9 20:26:41 CET 2011
vlc | branch: master | Rafaël Carré <funman at videolan.org> | Wed Nov 9 14:25:40 2011 -0500| [66170b6f6bcc5853c76e60bcc5d416bbc559e3e1] | committer: Rafaël Carré
contrib: fix zvbi .pc
don't use absolute path to library because it pkg-config reorders it
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=66170b6f6bcc5853c76e60bcc5d416bbc559e3e1
---
contrib/src/zvbi/rules.mak | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/contrib/src/zvbi/rules.mak b/contrib/src/zvbi/rules.mak
index e1c9d38..c7711f4 100644
--- a/contrib/src/zvbi/rules.mak
+++ b/contrib/src/zvbi/rules.mak
@@ -42,4 +42,6 @@ endif
cd $< && $(HOSTVARS) CFLAGS="$(ZVBI_CFLAGS)" ./configure $(ZVBICONF)
cd $</src && $(MAKE) install
cd $< && $(MAKE) SUBDIRS=. install
+ cat "$(PREFIX)/lib/pkgconfig/zvbi-0.2.pc" | sed -e s/'[^ ]*iconv.a'/-liconv/ > $</zvbi-iconv-fixed.pc
+ mv $</zvbi-iconv-fixed.pc "$(PREFIX)/lib/pkgconfig/zvbi-0.2.pc"
touch $@
More information about the vlc-commits
mailing list