diff options
author | Efraim Flashner <efraim@flashner.co.il> | 2021-02-11 12:02:17 +0200 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2021-02-11 12:04:37 +0200 |
commit | c9c68344ba1504d1ffae14a3c4f4bd11f595cc47 (patch) | |
tree | 27952744f82ad14dc80fb3c661d5528560771f70 | |
parent | a643deac2de81755a1843a3b41dd53857678bebc (diff) | |
download | guix-c9c68344ba1504d1ffae14a3c4f4bd11f595cc47.tar.gz |
gnu: libtomcrypt: Patch pkg-config file to pull libtommath.
* gnu/packages/multiprecision.scm (libtomcrypt)[arguments]: Adjust 'prepare-build phase to patch libtomcrypt.pc to link tommath.
-rw-r--r-- | gnu/packages/multiprecision.scm | 3 |
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) |