diff options
author | Thibault Saunier <thibault.saunier@collabora.com> | 2013-01-18 14:55:12 -0300 |
---|---|---|
committer | Andoni Morales Alastruey <ylatuya@gmail.com> | 2013-01-18 19:49:10 +0100 |
commit | 2952050768b8fa59f9c7a7e20d8f63aad8541721 (patch) | |
tree | 197b3d8678e2767472a8eb06d3619a5a6c321be6 /config | |
parent | 010c2612b20f32624d2f1992ed8ec6da797cb3ae (diff) |
Handle new path for GL header in the Mac OSX 10.8 SDK
Diffstat (limited to 'config')
-rw-r--r-- | config/darwin.config | 3 |
1 files changed, 3 insertions, 0 deletions
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): |