gnu: nnn: Use PKG-CONFIG-FOR-TARGET.
* gnu/packages/admin.scm (nnn)[arguments]: Substitute PKG-CONFIG-FOR-TARGET for the equivalent STRING-APPEND.
This commit is contained in:
parent
f8a564446a
commit
98a7242e17
|
@ -3618,10 +3618,7 @@ (define-public nnn
|
|||
(lambda _
|
||||
(substitute* "Makefile"
|
||||
(("pkg-config")
|
||||
(or (which "pkg-config")
|
||||
(string-append ,(%current-target-system)
|
||||
"-pkg-config"))))
|
||||
#t)))
|
||||
,(pkg-config-for-target))))))
|
||||
#:make-flags
|
||||
(list
|
||||
(string-append "PREFIX="
|
||||
|
|
Loading…
Reference in a new issue