mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
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.
This commit is contained in:
parent
a643deac2d
commit
c9c68344ba
1 changed files with 3 additions and 0 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue