about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--gn/packages/static.scm9
1 files changed, 9 insertions, 0 deletions
diff --git a/gn/packages/static.scm b/gn/packages/static.scm
index d2d3b6b..8b43cdb 100644
--- a/gn/packages/static.scm
+++ b/gn/packages/static.scm
@@ -72,3 +72,12 @@
            ;; Second-order dependencies from htslib
            (list bzip2 "static")
            (list xz "static")))))
+
+(define-public smithwaterman-static
+  (package
+    (inherit smithwaterman)
+    (name "smithwaterman-static")
+    (arguments
+     (substitute-keyword-arguments (package-arguments smithwaterman)
+       ((#:make-flags flags ''())
+        #~(cons "CFLAGS=-static" #$flags))))))