commit 089a6bde3891d3eb3a9e48f64dcd5e56d1063cb7 parent 3c1111f9eb1752b70f49b38ce87cc63127ac71e1 Author: Alexander Burger <abu@software-lab.de> Date: Thu, 8 Nov 2012 21:02:21 +0100 OpenGL libraries for Darwin Diffstat:
M | lib/openGl.l | | | 12 | ++++++++---- |
1 file changed, 8 insertions(+), 4 deletions(-)
diff --git a/lib/openGl.l b/lib/openGl.l @@ -1,13 +1,17 @@ -# 05nov12abu +# 08nov12abu # 27jul10jk # (c) Software Lab. Alexander Burger ### OpenGL library interface ### (load "@lib/math.l") -(default - *GluLib "libGLU.so" - *GlutLib "libglut.so" ) +(if (= *OS "Darwin") + (default + *GluLib "Frameworks/OpenGL.framework/OpenGL" + *GlutLib "Frameworks/GLUT.framework/GLUT" ) + (default + *GluLib "libGLU.so" + *GlutLib "libglut.so" ) ) # Pre-consed fixpoint arguments (setq