Commit 66170b6f authored by Rafaël Carré's avatar Rafaël Carré

contrib: fix zvbi .pc

don't use absolute path to library because it pkg-config reorders it
parent 6eedfacd
......@@ -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 $@
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment