From b02967a767525e24123c4e414d50ac3a81fcb29b Mon Sep 17 00:00:00 2001 From: Thibault Saunier Date: Fri, 18 Jan 2013 14:55:12 -0300 Subject: [PATCH] Handle new path for GL header in the Mac OSX 10.8 SDK --- config/darwin.config | 3 +++ 1 file changed, 3 insertions(+) diff --git a/config/darwin.config b/config/darwin.config index 4a1cbaa..0b0c198 100644 --- a/config/darwin.config +++ b/config/darwin.config @@ -80,6 +80,9 @@ os.environ['LDFLAGS'] += ' %s %s ' % (arch_ldflags, sdk) # Link GL headers gl_headers = os.path.join(sdk_root, 'usr', 'X11', 'include', 'GL') +if not os.path.exists(gl_headers): + gl_headers = os.path.join(sdk_root, 'System', 'Library', 'Frameworks', 'OpenGL.framework', 'Headers') + gl_headers_prefix = os.path.join(incl_dir, 'GL') if not os.path.exists(gl_headers_prefix): if os.path.lexists(gl_headers_prefix): -- 1.7.10.2 (Apple Git-33)