mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-24 21:38:07 -05:00
gnu: retroarch: Use shared zlib.
* gnu/packages/emulators.scm (retroarch)[arguments]: In custom 'configure phase, use our zlib instead of vendor's zlib.
This commit is contained in:
parent
060366f6b3
commit
fade67ab75
1 changed files with 5 additions and 0 deletions
|
@ -1079,6 +1079,11 @@ (define-public retroarch
|
|||
(("libvulkan.so") (string-append vulkan "/lib/libvulkan.so")))
|
||||
(substitute* "qb/qb.libs.sh"
|
||||
(("/bin/true") (which "true")))
|
||||
;; Use shared zlib.
|
||||
(substitute* '("libretro-common/file/archive_file_zlib.c"
|
||||
"libretro-common/streams/trans_stream_zlib.c"
|
||||
"network/httpserver/httpserver.c")
|
||||
(("<compat/zlib.h>") "<zlib.h>"))
|
||||
;; The configure script does not yet accept the extra arguments
|
||||
;; (like ‘CONFIG_SHELL=’) passed by the default configure phase.
|
||||
(zero? (system*
|
||||
|
|
Loading…
Reference in a new issue