[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
16/19: gnu: Add boost-static.
From: |
guix-commits |
Subject: |
16/19: gnu: Add boost-static. |
Date: |
Mon, 25 Nov 2019 07:08:56 -0500 (EST) |
efraim pushed a commit to branch master
in repository guix.
commit 31872b3e75da777c3f02b7544808d30849a56d7b
Author: Efraim Flashner <address@hidden>
Date: Mon Nov 25 09:36:32 2019 +0200
gnu: Add boost-static.
* gnu/packages/boost.scm (boost-static): New variable.
---
gnu/packages/boost.scm | 17 +++++++++++++++++
1 file changed, 17 insertions(+)
diff --git a/gnu/packages/boost.scm b/gnu/packages/boost.scm
index 2ef0591..0a2a5c5 100644
--- a/gnu/packages/boost.scm
+++ b/gnu/packages/boost.scm
@@ -178,6 +178,23 @@ across a broad spectrum of applications.")
(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
- branch master updated (8e77da0 -> aca2bf5), guix-commits, 2019/11/25
- 11/19: gnu: unshield: Don't use unstable tarball., guix-commits, 2019/11/25
- 15/19: gnu: coq-bignums: Don't use unstable tarball., guix-commits, 2019/11/25
- 14/19: gnu: bioperl-minimal: Don't use unstable tarball., guix-commits, 2019/11/25
- 13/19: gnu: innoextract: Update to 1.8., guix-commits, 2019/11/25
- 17/19: gnu: libdivsufsort: Move to datastructures.scm., guix-commits, 2019/11/25
- 12/19: gnu: innoextract: Don't use unstable tarball., guix-commits, 2019/11/25
- 19/19: gnu: sdsl-lite: Don't use bundled libraries., guix-commits, 2019/11/25
- 18/19: gnu: sdsl-lite: Remove unused inputs., guix-commits, 2019/11/25
- 16/19: gnu: Add boost-static.,
guix-commits <=
- 10/19: gnu: snappy: Don't use unstable tarball., guix-commits, 2019/11/25
- 07/19: gnu: sparsehash: Don't use unstable tarball., guix-commits, 2019/11/25
- 05/19: gnu: imlib2: Update to 1.6.0., guix-commits, 2019/11/25
- 03/19: gnu: gnunet-gtk: Update to 0.11.7., guix-commits, 2019/11/25
- 02/19: gnu: gnunet: Update to 0.11.8., guix-commits, 2019/11/25
- 08/19: gnu: cinnamon-desktop: Don't use unstable tarball., guix-commits, 2019/11/25
- 04/19: gnu: gnunet-gtk: Sort inputs alphabetically., guix-commits, 2019/11/25
- 09/19: gnu: sfarklib: Don't use unstable tarball., guix-commits, 2019/11/25
- 01/19: gnu: gnunet-gtk: Set upstream ftp-directory., guix-commits, 2019/11/25
- 06/19: gnu: imlib2: Sort inputs alphabetically., guix-commits, 2019/11/25