~ruther/guix-local

ea50fb8d03ba16ff9757687a569b3d1f2846859d — Efraim Flashner 9 years ago 3d3d401
gnu: libepoxy: Add support for aarch64.

* gnu/packages/gl.scm (libepoxy)[arguments]: Add substitution to support
aarch64.
1 files changed, 4 insertions(+), 0 deletions(-)

M gnu/packages/gl.scm
M gnu/packages/gl.scm => gnu/packages/gl.scm +4 -0
@@ 489,6 489,10 @@ OpenGL graphics API.")
                   (mesa (assoc-ref inputs "mesa")))
               (substitute* "src/gen_dispatch.py"
                 (("/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]$")
                 (("libGL.so.1") (string-append mesa "/lib/libGL.so.1"))
                 (("libEGL.so.1") (string-append mesa "/lib/libEGL.so.1")))