mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-02 12:32:29 +00:00
openal: Fix AL header path for Mac OS X
OpenAL.framework doesn't provide 'alext.h'. Thus, openal is enabled only if the dependency is set by pkg-config. fixes: #852
This commit is contained in:
parent
b5af1b9f2e
commit
2faa08ff28
3 changed files with 1 additions and 9 deletions
|
@ -32,10 +32,6 @@
|
|||
#include <al.h>
|
||||
#include <alc.h>
|
||||
#include <alext.h>
|
||||
#elif defined(__APPLE__)
|
||||
#include <OpenAL/al.h>
|
||||
#include <OpenAL/alc.h>
|
||||
#include <OpenAL/alext.h>
|
||||
#else
|
||||
#include <AL/al.h>
|
||||
#include <AL/alc.h>
|
||||
|
|
|
@ -56,10 +56,6 @@
|
|||
#include <al.h>
|
||||
#include <alc.h>
|
||||
#include <alext.h>
|
||||
#elif defined(__APPLE__)
|
||||
#include <OpenAL/al.h>
|
||||
#include <OpenAL/alc.h>
|
||||
#include <OpenAL/alext.h>
|
||||
#else
|
||||
#include <AL/al.h>
|
||||
#include <AL/alc.h>
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
openal_dep = dependency('openal', version: '>= 1.14', required: get_option('openal'))
|
||||
openal_dep = dependency('openal', method: 'pkg-config', version: '>= 1.14', required: get_option('openal'))
|
||||
|
||||
if openal_dep.found()
|
||||
gstopenal = library('gstopenal',
|
||||
|
|
Loading…
Reference in a new issue