mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-24 05:18:07 -05: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 @@ (define-public libtomcrypt
|
|||
;; 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…
Reference in a new issue