gnu: sbcl-burgled-batteries3: Fix build with Python 3.8.
* gnu/packages/lisp-xyz.scm (sbcl-burgled-batteries3)[arguments]: Remove "m" suffix from Python include directory. Add phase to remove deprecated Python API binding.
This commit is contained in:
parent
c6d02bcf1b
commit
8c83069b99
@ -5105,11 +5105,17 @@ (define-public sbcl-burgled-batteries3
|
||||
(let ((python (assoc-ref inputs "python")))
|
||||
(setenv "BB_PYTHON3_INCLUDE_DIR"
|
||||
(string-append python "/include/python"
|
||||
(python-version python)
|
||||
"m"))
|
||||
(python-version python)))
|
||||
(setenv "BB_PYTHON3_DYLIB"
|
||||
(string-append python "/lib/libpython3.so"))
|
||||
#t))))))
|
||||
#t)))
|
||||
(add-after 'unpack 'adjust-for-python-3.8
|
||||
(lambda _
|
||||
;; This method is no longer part of the public API.
|
||||
(substitute* "ffi-interface.lisp"
|
||||
((".*PyEval_ReInitThreads.*")
|
||||
""))
|
||||
#t)))))
|
||||
(native-inputs
|
||||
`(("sbcl-cl-fad" ,sbcl-cl-fad)
|
||||
("sbcl-lift" ,sbcl-lift)
|
||||
|
Loading…
Reference in New Issue
Block a user