diff options
author | Matthew Waters <matthew@centricular.com> | 2020-04-01 14:30:35 +1100 |
---|---|---|
committer | GStreamer Merge Bot <gitlab-merge-bot@gstreamer-foundation.org> | 2020-04-01 21:56:53 +0000 |
commit | 9a161c34872e5c5d953a390c3582912bfd73187e (patch) | |
tree | 02d0ac5834fc9a3fb555905aaccb3ab3d4502013 /config | |
parent | 1303c754e1e42591e6dbdf8a33439cbdb22e3a67 (diff) |
config/darwin: don't symlink gl headers
It's not necessary anymore
Diffstat (limited to 'config')
-rw-r--r-- | config/darwin.config | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/config/darwin.config b/config/darwin.config index 1fd850cb..372b8764 100644 --- a/config/darwin.config +++ b/config/darwin.config @@ -103,19 +103,6 @@ if target_arch != Architecture.UNIVERSAL: # Ensure lightweight architectures are build when only targetting one arch env['ARCHFLAGS'] = '-arch %s' % target_arch -# 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): - os.remove(gl_headers_prefix) - os.symlink(gl_headers, gl_headers_prefix) -if not os.path.exists(gl_headers_prefix): - raise Exception ("GL headers path not found: %s" % gl_headers) - if use_ccache: comp = env.get('CC', 'clang') if not 'ccache' in comp: |