mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-23 21:17:11 -05:00
gnu: boost-static: Adjust for Python 3 migration in Boost.
* gnu/packages/boost.scm (boost-static)[arguments]: Adjust libboost_python27.a file name to take the Python 3 counterpart in the provide_libboost_python phase.
This commit is contained in:
parent
9a749af467
commit
0e907e27ed
1 changed files with 11 additions and 3 deletions
|
@ -210,10 +210,18 @@ (define-public boost-static
|
|||
((#:phases phases)
|
||||
`(modify-phases ,phases
|
||||
(replace 'provide-libboost_python
|
||||
(lambda* (#:key outputs #:allow-other-keys)
|
||||
(let ((out (assoc-ref outputs "out")))
|
||||
(lambda* (#:key inputs outputs #:allow-other-keys)
|
||||
(let* ((out (assoc-ref outputs "out"))
|
||||
(python-version (python-version
|
||||
(assoc-ref inputs "python")))
|
||||
(libboost_pythonNN.a
|
||||
(string-append "libboost_python"
|
||||
(string-join (string-split
|
||||
python-version #\.)
|
||||
"")
|
||||
".a")))
|
||||
(with-directory-excursion (string-append out "/lib")
|
||||
(symlink "libboost_python27.a" "libboost_python.a"))
|
||||
(symlink libboost_pythonNN.a "libboost_python.a"))
|
||||
#t)))))))))
|
||||
|
||||
(define-public boost-1.69
|
||||
|
|
Loading…
Reference in a new issue