mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-07 15:36:20 -05:00
gnu: 4dtris: Fix build.
* gnu/packages/games.scm (4dtris)[attributes]: Add -fcommon to CFLAGS and use search-input-directory to find SDL include path. Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
This commit is contained in:
parent
f762d63ec0
commit
a3324e5753
1 changed files with 3 additions and 2 deletions
|
@ -8639,7 +8639,8 @@ (define-public 4dtris
|
|||
"1nfkhcm0l89jyw8yr65na97g4l385zhjf7whkyg47c3v5sdqq2g7"))))
|
||||
(build-system gnu-build-system)
|
||||
(arguments
|
||||
`(#:phases
|
||||
`(#:configure-flags '("CFLAGS=-fcommon")
|
||||
#:phases
|
||||
(modify-phases %standard-phases
|
||||
(add-after 'unpack 'fix-install-directories
|
||||
(lambda* (#:key outputs #:allow-other-keys)
|
||||
|
@ -8656,7 +8657,7 @@ (define-public 4dtris
|
|||
(lambda* (#:key inputs #:allow-other-keys)
|
||||
(setenv "CPATH"
|
||||
(string-append
|
||||
(search-input-file inputs "/include/SDL")
|
||||
(search-input-directory inputs "/include/SDL")
|
||||
":" (or (getenv "CPATH") ""))))))))
|
||||
(inputs
|
||||
`(("fontconfig" ,fontconfig)
|
||||
|
|
Loading…
Reference in a new issue