summaryrefslogtreecommitdiff
path: root/gnu/packages/gl.scm
diff options
context:
space:
mode:
author宋文武 <iyzsong@gmail.com>2015-06-05 12:17:18 +0800
committer宋文武 <iyzsong@gmail.com>2015-06-05 12:17:18 +0800
commit4becc7927320378f8ecbdf111adf57070851f656 (patch)
treed5f724be67be5be0f77dd9b934375b62f3b43804 /gnu/packages/gl.scm
parent230fda86a57b654bd15d0c5009f933deaeacd20c (diff)
gnu: guile-opengl: Patch dynamic-link call for 'libGLU' to glu.
* gnu/packages/gl.scm (guile-opengl)[inputs]: Add glu. [arguments]: Patch dynamic-link call for 'libGLU' to glu instead of mesa in the 'patch-dynamic-link' phase.
Diffstat (limited to 'gnu/packages/gl.scm')
-rw-r--r--gnu/packages/gl.scm3
1 files changed, 2 insertions, 1 deletions
diff --git a/gnu/packages/gl.scm b/gnu/packages/gl.scm
index 2a6437c562..d1503e1730 100644
--- a/gnu/packages/gl.scm
+++ b/gnu/packages/gl.scm
@@ -405,6 +405,7 @@ extension functionality is exposed in a single header file.")
(native-inputs `(("pkg-config" ,pkg-config)))
(inputs `(("guile" ,guile-2.0)
("mesa" ,mesa)
+ ("glu" ,glu)
("freeglut" ,freeglut)))
(arguments
'(#:phases (alist-cons-before
@@ -419,7 +420,7 @@ extension functionality is exposed in a single header file.")
;; Replace dynamic-link calls for libGL, libGLU, and
;; libglut with absolute paths to the store.
(dynamic-link-substitute "glx/runtime.scm" "GL" "mesa")
- (dynamic-link-substitute "glu/runtime.scm" "GLU" "mesa")
+ (dynamic-link-substitute "glu/runtime.scm" "GLU" "glu")
(dynamic-link-substitute "glut/runtime.scm" "glut"
"freeglut"))
%standard-phases)))