diff --git a/python3.9.spec b/python3.9.spec index c8048fa..e724590 100644 --- a/python3.9.spec +++ b/python3.9.spec @@ -1204,7 +1204,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}"