Set $LD_LIBRARY_PATH when asserting libmpdec version
Without $LD_LIBRARY_PATH, the test uses installed libpython, which might be older Python version when updating or missing entirely when building --with bootstrap.
This commit is contained in:
parent
d3f5befac1
commit
dccd43b6f8
1 changed files with 1 additions and 1 deletions
|
|
@ -1207,7 +1207,7 @@ done
|
|||
|
||||
# Verify that the bundled libmpdec version python was compiled with, is the same version we have virtual
|
||||
# provides for in the SPEC.
|
||||
test "$($(pwd)/build/optimized/python -c 'import decimal; print(decimal.__libmpdec_version__)')" = \
|
||||
test "$(LD_LIBRARY_PATH=$(pwd)/build/optimized $(pwd)/build/optimized/python -c 'import decimal; print(decimal.__libmpdec_version__)')" = \
|
||||
"%{libmpdec_version}"
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue