diff options
author | Jay Berkenbilt <ejb@ql.org> | 2022-09-10 15:24:12 +0200 |
---|---|---|
committer | Jay Berkenbilt <ejb@ql.org> | 2022-09-10 15:44:29 +0200 |
commit | 38cd94bec852b621c6af11efcbea4e51e403ca54 (patch) | |
tree | 4d333290558dcfd71c5acea6ac7ea73210ae06bb /README-maintainer | |
parent | 93f176a2a035930aea76112e23e80661edc5fdd9 (diff) | |
download | qpdf-38cd94bec852b621c6af11efcbea4e51e403ca54.tar.zst |
Strengthen pkg-test
* Define POINTERHOLDER_TRANSITION
* Make sure we are getting the intended version of qpdf
Diffstat (limited to 'README-maintainer')
-rw-r--r-- | README-maintainer | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/README-maintainer b/README-maintainer index e7f525d9..166b1744 100644 --- a/README-maintainer +++ b/README-maintainer @@ -382,11 +382,16 @@ pytest -n auto * Run package tests: -cmake -S . -B build.tmp -DCMAKE_BUILD_TYPE=RelWithDebInfo +(Note: can't use DESTDIR because pkg-config won't know about it.) + +\rm -rf /tmp/inst build.tmp +cmake -S . -B build.tmp \ + -DCMAKE_BUILD_TYPE=RelWithDebInfo -DCMAKE_INSTALL_PREFIX=/tmp/inst cmake --build build.tmp -j$(nproc) -DESTDIR=/tmp/inst cmake --install build.tmp -env PKG_CONFIG_PATH=/tmp/inst/usr/local/lib/pkgconfig \ - CMAKE_PREFIX_PATH=/tmp/inst/usr/local \ +cmake --install build.tmp +env PKG_CONFIG_PATH=/tmp/inst/lib/pkgconfig \ + LD_LIBRARY_PATH=/tmp/inst/lib \ + CMAKE_PREFIX_PATH=/tmp/inst \ ./pkg-test/run-all |