mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-23 21:17:11 -05:00
gnu: Add boost-static.
* gnu/packages/boost.scm (boost-static): New variable.
This commit is contained in:
parent
775373b872
commit
31872b3e75
1 changed files with 17 additions and 0 deletions
|
@ -178,6 +178,23 @@ (define-public boost-with-python3
|
|||
(symlink "libboost_python37.so" "libboost_python3.so"))
|
||||
#t)))))))))
|
||||
|
||||
(define-public boost-static
|
||||
(package
|
||||
(inherit boost)
|
||||
(name "boost-static")
|
||||
(arguments
|
||||
(substitute-keyword-arguments (package-arguments boost)
|
||||
((#:make-flags flags)
|
||||
`(cons "link=static" (delete "link=shared" ,flags)))
|
||||
((#:phases phases)
|
||||
`(modify-phases ,phases
|
||||
(replace 'provide-libboost_python
|
||||
(lambda* (#:key outputs #:allow-other-keys)
|
||||
(let ((out (assoc-ref outputs "out")))
|
||||
(with-directory-excursion (string-append out "/lib")
|
||||
(symlink "libboost_python27.a" "libboost_python.a"))
|
||||
#t)))))))))
|
||||
|
||||
(define-public boost-for-mysql
|
||||
;; Older version for MySQL 5.7.23.
|
||||
(package
|
||||
|
|
Loading…
Reference in a new issue