blender: fix build with python 3.8

Since Python 3.8 an `m` is no longer added when pymalloc is used.
https://bugs.python.org/issue36707
This commit is contained in:
Frederik Rietdijk 2020-06-12 22:00:09 +02:00
parent 4087d3fe41
commit 98f95ef9c4

View file

@ -86,9 +86,9 @@ stdenv.mkDerivation rec {
"-DWITH_SDL=OFF"
"-DWITH_OPENCOLORIO=ON"
"-DWITH_OPENSUBDIV=ON"
"-DPYTHON_LIBRARY=${python.libPrefix}m"
"-DPYTHON_LIBRARY=${python.libPrefix}"
"-DPYTHON_LIBPATH=${python}/lib"
"-DPYTHON_INCLUDE_DIR=${python}/include/${python.libPrefix}m"
"-DPYTHON_INCLUDE_DIR=${python}/include/${python.libPrefix}"
"-DPYTHON_VERSION=${python.pythonVersion}"
"-DWITH_PYTHON_INSTALL=OFF"
"-DWITH_PYTHON_INSTALL_NUMPY=OFF"