libwv: Fix `.pc` file

This commit is contained in:
Tee KOBAYASHI 2022-05-01 10:43:01 +09:00 committed by xtkoba
parent 70f460f40f
commit c7667270f0
2 changed files with 10 additions and 0 deletions

View File

@ -3,6 +3,7 @@ TERMUX_PKG_DESCRIPTION="A library which allows access to Microsoft Word files"
TERMUX_PKG_LICENSE="GPL-2.0"
TERMUX_PKG_MAINTAINER="@termux"
TERMUX_PKG_VERSION=1.2.9
TERMUX_PKG_REVISION=1
TERMUX_PKG_SRCURL=http://abiword.org/downloads/wv/${TERMUX_PKG_VERSION}/wv-${TERMUX_PKG_VERSION}.tar.gz
TERMUX_PKG_SHA256=4c730d3b325c0785450dd3a043eeb53e1518598c4f41f155558385dd2635c19d
TERMUX_PKG_DEPENDS="glib, libgsf, libpng, libxml2, zlib"

View File

@ -0,0 +1,9 @@
--- a/wv-1.0.pc.in
+++ b/wv-1.0.pc.in
@@ -7,5 +7,5 @@
Description: Word Document Filter library and utilities
Version: @VERSION@
Requires: @DEPS_PKGS@
-Libs: -L${libdir} -lwv @OPT_LIBS@ -lm
+Libs: -L${libdir} -lwv-@LT_RELEASE@ @OPT_LIBS@ -lm
Cflags: -I${includedir}/wv @OPT_CFLAGS@