summaryrefslogtreecommitdiffstats
path: root/waftools
diff options
context:
space:
mode:
authorMichael Hoang <enzime@users.noreply.github.com>2018-08-16 11:30:02 +1000
committerJan Ekström <jeebjp@gmail.com>2018-09-29 23:06:49 +0300
commit56098c56368fb1c42059a3a125897f4d3e42553b (patch)
treee34506fe33a041a453ca106c4a68c790b5773d35 /waftools
parent312b88d360a4a6956a27cdd5f71a335ceed38b00 (diff)
downloadmpv-56098c56368fb1c42059a3a125897f4d3e42553b.tar.bz2
mpv-56098c56368fb1c42059a3a125897f4d3e42553b.tar.xz
Revert "ao_openal: enable building on OSX"
This reverts commit af6126adbe61fb2b6cc780025246d33df93072e6. Apple's OpenAL support is ridiculously out of date, revert back to just using OpenAL Soft on macOS (fixes #4645). (cherry picked from commit 91786fa99c15dc64d3bce4be413326ba2dbe59f7)
Diffstat (limited to 'waftools')
-rw-r--r--waftools/checks/custom.py13
1 files changed, 1 insertions, 12 deletions
diff --git a/waftools/checks/custom.py b/waftools/checks/custom.py
index d887df5851..06a7c70769 100644
--- a/waftools/checks/custom.py
+++ b/waftools/checks/custom.py
@@ -4,7 +4,7 @@ from waflib import Utils
import os
__all__ = ["check_pthreads", "check_iconv", "check_lua",
- "check_cocoa", "check_openal", "check_wl_protocols"]
+ "check_cocoa", "check_wl_protocols"]
pthreads_program = load_fragment('pthreads.c')
@@ -111,14 +111,3 @@ def check_cocoa(ctx, dependency_identifier):
])
return res
-
-def check_openal(ctx, dependency_identifier):
- checks = [
- check_pkg_config('openal', '>= 1.13'),
- check_statement(['OpenAL/AL.h'], 'int i = AL_VERSION', framework='OpenAL')
- ]
-
- for fn in checks:
- if fn(ctx, dependency_identifier):
- return True
- return False