gnu: libepoxy: Add support for aarch64.

* gnu/packages/gl.scm (libepoxy)[arguments]: Add substitution to support
aarch64.
This commit is contained in:
Efraim Flashner 2017-03-19 11:06:29 +02:00
parent 3d3d4014c2
commit ea50fb8d03
No known key found for this signature in database
GPG key ID: F4C1D3917EACEE93

View file

@ -489,6 +489,10 @@ (define-public libepoxy
(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")))