mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-12 06:06:53 -05:00
gnu: libepoxy: Hardcode paths to GLES libraries.
Fixes <https://issues.guix.gnu.org/64981>. * gnu/packages/gl.scm (libepoxy)[arguments]<#:phases>: Hardcode paths to libGLESv1_CM.so.1 and libGLESv2.so.2. Signed-off-by: John Kehayias <john.kehayias@protonmail.com> Change-Id: I9d68a2b8f9c4ffee13ea63ea973970bf1d4c8a6d
This commit is contained in:
parent
ed2c3143f3
commit
37fc2c99e0
1 changed files with 7 additions and 3 deletions
|
@ -754,10 +754,14 @@ (define-public libepoxy
|
|||
#~(modify-phases %standard-phases
|
||||
(add-before 'configure 'patch-paths
|
||||
(lambda* (#:key inputs #:allow-other-keys)
|
||||
(let ((mesa (dirname (search-input-file inputs "lib/libGL.so"))))
|
||||
(let ((mesa-lib
|
||||
(lambda (file)
|
||||
(search-input-file inputs (string-append "lib/" file)))))
|
||||
(substitute* (find-files "." "\\.[ch]$")
|
||||
(("libGL.so.1") (string-append mesa "/libGL.so.1"))
|
||||
(("libEGL.so.1") (string-append mesa "/libEGL.so.1")))))))))
|
||||
(("libGL.so.1") (mesa-lib "libGL.so.1"))
|
||||
(("libEGL.so.1") (mesa-lib "libEGL.so.1"))
|
||||
(("libGLESv1_CM.so.1") (mesa-lib "libGLESv1_CM.so.1"))
|
||||
(("libGLESv2.so.2") (mesa-lib "libGLESv2.so.2")))))))))
|
||||
(build-system meson-build-system)
|
||||
(native-inputs
|
||||
(list pkg-config python))
|
||||
|
|
Loading…
Reference in a new issue