me
/
guix
Archived
1
0
Fork 0

gnu: guile-static: Provide a libgc variant with statically built libraries.

* gnu/packages/bdw-gc.scm (libgc/static-libs): New public variable.
* gnu/packages/make-bootstrap.scm (%guile-static)[propagated-inputs]: Change
from LIBGC to LIBGC/STATIC-LIBS.
master
Marius Bakke 2020-03-28 08:59:35 +01:00
parent a5cfb444d1
commit aebcbb27bc
No known key found for this signature in database
GPG Key ID: A2A06DF2A33A54FA
2 changed files with 10 additions and 1 deletions

View File

@ -24,6 +24,7 @@
#:use-module (guix licenses)
#:use-module (guix packages)
#:use-module (guix download)
#:use-module (guix utils)
#:use-module (guix build-system gnu)
#:use-module (gnu packages pkg-config)
#:use-module (gnu packages hurd))
@ -84,6 +85,14 @@ C or C++ programs, though that is not its primary goal.")
(license (x11-style (string-append home-page "license.txt")))))
;; TODO: Add a static output in libgc in the next rebuild cycle.
(define-public libgc/static-libs
(package/inherit
libgc
(arguments (substitute-keyword-arguments (package-arguments libgc)
((#:configure-flags flags ''())
`(cons "--enable-static" ,flags))))))
(define-public libgc-7
(package
(inherit libgc)

View File

@ -699,7 +699,7 @@ for `sh' in $PATH, and without nscd, and with static NSS modules."
,@(package-inputs guile-2.2)))
(propagated-inputs
`(("bdw-gc" ,libgc)
`(("bdw-gc" ,libgc/static-libs)
,@(alist-delete "bdw-gc"
(package-propagated-inputs guile-2.0))))
(arguments