aboutsummaryrefslogtreecommitdiffstats
path: root/pkg-test
diff options
context:
space:
mode:
authorJay Berkenbilt <ejb@ql.org>2022-03-23 15:52:40 +0100
committerJay Berkenbilt <ejb@ql.org>2022-03-23 15:52:40 +0100
commitf8e97e0ed56cf5942ef36d34f1c64185c9c84d5c (patch)
treeab4d3f98faf7af75ad0a13f9ba2bab70fd6689d5 /pkg-test
parent336062930d8b51538b39a70ea9a4519ebe45fcc8 (diff)
downloadqpdf-f8e97e0ed56cf5942ef36d34f1c64185c9c84d5c.tar.zst
Put spaces around version constraint in pkg-config (fixes #677)
Also add a pkg-config runtime test that would have caught the error.
Diffstat (limited to 'pkg-test')
-rwxr-xr-xpkg-test/test-pkg-config2
1 files changed, 2 insertions, 0 deletions
diff --git a/pkg-test/test-pkg-config b/pkg-test/test-pkg-config
index c516bed6..3624030a 100755
--- a/pkg-test/test-pkg-config
+++ b/pkg-test/test-pkg-config
@@ -15,6 +15,8 @@ fi
cp pkg-test/qpdf-version.cc $TMP
cd $TMP
+pkg-config libqpdf --modversion
+pkg-config libqpdf --libs --static
g++ qpdf-version.cc -o qpdf-version \
$(pkg-config libqpdf --cflags) \
$(pkg-config libqpdf --libs)