gnu: blender: Fix build with Python 3.8.

* gnu/packages/graphics.scm (blender)[arguments]: Remove 'm' suffix from
python directories.
This commit is contained in:
Marius Bakke 2020-03-13 00:19:24 +01:00
parent aaadd6e2e1
commit 4889be6ceb
No known key found for this signature in database
GPG key ID: A2A06DF2A33A54FA

View file

@ -114,11 +114,11 @@ (define-public blender
"-DWITH_MOD_OCEANSIM=ON" "-DWITH_MOD_OCEANSIM=ON"
"-DWITH_OPENSUBDIV=ON" "-DWITH_OPENSUBDIV=ON"
"-DWITH_PYTHON_INSTALL=OFF" "-DWITH_PYTHON_INSTALL=OFF"
(string-append "-DPYTHON_LIBRARY=python" ,python-version "m") (string-append "-DPYTHON_LIBRARY=python" ,python-version)
(string-append "-DPYTHON_LIBPATH=" (assoc-ref %build-inputs "python") (string-append "-DPYTHON_LIBPATH=" (assoc-ref %build-inputs "python")
"/lib") "/lib")
(string-append "-DPYTHON_INCLUDE_DIR=" (assoc-ref %build-inputs "python") (string-append "-DPYTHON_INCLUDE_DIR=" (assoc-ref %build-inputs "python")
"/include/python" ,python-version "m") "/include/python" ,python-version)
(string-append "-DPYTHON_VERSION=" ,python-version) (string-append "-DPYTHON_VERSION=" ,python-version)
(string-append "-DPYTHON_NUMPY_PATH=" (string-append "-DPYTHON_NUMPY_PATH="
(assoc-ref %build-inputs "python-numpy") (assoc-ref %build-inputs "python-numpy")