mirror of
https://codeberg.org/guix/guix.git
synced 2026-01-25 12:05:19 -06:00
gnu: freetype: Pass valid #:disallowed-references when cross-compiling.
Fixes a regression introduced in ad461613d9
whereby ‘this-package-native-input’ would return #f when cross-compiling.
* gnu/packages/fontutils.scm (freetype)[arguments]: Adjust name passed to
‘this-package-native-input’ based on (%current-target-system).
Change-Id: I5487c9ef9cf760148aefbaa8c11f4bf417482bec
This commit is contained in:
parent
c4fdfa3174
commit
eb6b1aed25
1 changed files with 5 additions and 1 deletions
|
|
@ -123,7 +123,11 @@
|
|||
#$@(if (target-arm32?)
|
||||
(list "CFLAGS=-g -O2 -fno-tree-slp-vectorize")
|
||||
'()))
|
||||
#:disallowed-references (list (this-package-native-input "pkg-config"))
|
||||
#:disallowed-references (list (this-package-native-input
|
||||
(if (%current-target-system)
|
||||
(string-append "pkg-config-"
|
||||
(%current-target-system))
|
||||
"pkg-config")))
|
||||
#:phases
|
||||
#~(modify-phases %standard-phases
|
||||
(add-after 'install 'remove-reference-to-pkg-config
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue