mirror of
https://github.com/godotengine/godot.git
synced 2024-12-27 11:24:59 +08:00
09f82fa6ea
By generating stubs using https://github.com/hpvb/dynload-wrapper we can dynamically load libpulse and libasound on systems where it is available. Both are still a build-time requirement but no longer a run-time dependency. For maintenance purposes the wrappers should not need to be re-generated unless we want to bump pulse or asound to an incompatible version. It is unlikely we will want to do this any time soon. This closes #20978
9 lines
201 B
Python
9 lines
201 B
Python
#!/usr/bin/env python
|
|
|
|
Import("env")
|
|
|
|
if "pulseaudio" in env and env["pulseaudio"]:
|
|
env.add_source_files(env.drivers_sources, "pulse-so_wrap.c")
|
|
|
|
env.add_source_files(env.drivers_sources, "*.cpp")
|