From 1da7f9089f727bb3dce73e4d2acfc2803b82e090 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Thu, 9 Dec 2021 23:14:09 +0200 Subject: gnu: Add gsl-static. * gnu/packages/maths.scm (gsl-static): New variable. --- gnu/packages/maths.scm | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'gnu') diff --git a/gnu/packages/maths.scm b/gnu/packages/maths.scm index 532d4249c9..58bde73a0a 100644 --- a/gnu/packages/maths.scm +++ b/gnu/packages/maths.scm @@ -581,6 +581,15 @@ differential equations, linear algebra, Fast Fourier Transforms and random numbers.") (license license:gpl3+))) +;; TODO: Merge back into the gsl package as a separate output. +(define-public gsl-static + (package/inherit gsl + (name "gsl-static") + (arguments + `(,@(package-arguments gsl) + #:configure-flags (list "--disable-shared") + #:make-flags (list "CFLAGS=-fPIC"))))) + (define-public sleef (package (name "sleef") -- cgit v1.2.3