mirror of
https://github.com/panda3d/panda3d.git
synced 2025-09-29 00:06:44 -04:00
makepanda: pick up AudioToolbox and CoreAudio frameworks on macOS
These seem to be needed to compile against OpenAL Soft. Fixes #678 Fixes #679
This commit is contained in:
parent
e080d33e31
commit
cee000d1da
@ -967,6 +967,10 @@ if (COMPILER=="GCC"):
|
|||||||
else:
|
else:
|
||||||
PkgDisable("OPENCV")
|
PkgDisable("OPENCV")
|
||||||
|
|
||||||
|
if GetTarget() == "darwin" and not PkgSkip("OPENAL"):
|
||||||
|
LibName("OPENAL", "-framework AudioToolbox")
|
||||||
|
LibName("OPENAL", "-framework CoreAudio")
|
||||||
|
|
||||||
if not PkgSkip("ASSIMP") and \
|
if not PkgSkip("ASSIMP") and \
|
||||||
os.path.isfile(GetThirdpartyDir() + "assimp/lib/libassimp.a"):
|
os.path.isfile(GetThirdpartyDir() + "assimp/lib/libassimp.a"):
|
||||||
# Also pick up IrrXML, which is needed when linking statically.
|
# Also pick up IrrXML, which is needed when linking statically.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user