summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--gnu/packages/multiprecision.scm3
1 files changed, 3 insertions, 0 deletions
diff --git a/gnu/packages/multiprecision.scm b/gnu/packages/multiprecision.scm
index 21605c4003..733e6548b9 100644
--- a/gnu/packages/multiprecision.scm
+++ b/gnu/packages/multiprecision.scm
@@ -353,6 +353,9 @@ multiplies.")
              ;; default makefile target.
              (delete-file "makefile")
              (symlink "makefile.shared" "makefile")
+             ;; We link to libtommath, so we need to add it to the pc file
+             (substitute* "libtomcrypt.pc.in"
+               (("-ltomcrypt") "-ltomcrypt -ltommath"))
              #t))
          (add-after 'build 'build-static
            (lambda* (#:key make-flags #:allow-other-keys)