gnu: libepoxy: Add support for aarch64.
* gnu/packages/gl.scm (libepoxy)[arguments]: Add substitution to support aarch64.
This commit is contained in:
parent
3d3d4014c2
commit
ea50fb8d03
|
@ -489,6 +489,10 @@ OpenGL graphics API.")
|
||||||
(mesa (assoc-ref inputs "mesa")))
|
(mesa (assoc-ref inputs "mesa")))
|
||||||
(substitute* "src/gen_dispatch.py"
|
(substitute* "src/gen_dispatch.py"
|
||||||
(("/usr/bin/env python") python))
|
(("/usr/bin/env python") python))
|
||||||
|
;; Add support for aarch64, see upstream:
|
||||||
|
;; https://github.com/anholt/libepoxy/pull/114
|
||||||
|
(substitute* "test/dlwrap.c"
|
||||||
|
(("GLIBC_2.4") "GLIBC_2.17\", \"GLIBC_2.4"))
|
||||||
(substitute* (find-files "." "\\.[ch]$")
|
(substitute* (find-files "." "\\.[ch]$")
|
||||||
(("libGL.so.1") (string-append mesa "/lib/libGL.so.1"))
|
(("libGL.so.1") (string-append mesa "/lib/libGL.so.1"))
|
||||||
(("libEGL.so.1") (string-append mesa "/lib/libEGL.so.1")))
|
(("libEGL.so.1") (string-append mesa "/lib/libEGL.so.1")))
|
||||||
|
|
Loading…
Reference in New Issue