This commit is contained in:
parent
04a313aaae
commit
37be0b74de
@ -6,11 +6,14 @@ References: https://github.com/godotengine/godot/issues/74683
|
|||||||
work around regression of scons 4.5.1
|
work around regression of scons 4.5.1
|
||||||
expected to be fixed with 4.5.2
|
expected to be fixed with 4.5.2
|
||||||
|
|
||||||
diff --git a/platform/linuxbsd/detect.py b/platform/linuxbsd/detect.py
|
---
|
||||||
index 549319a750..0214ebd8bd 100644
|
|
||||||
|
diff -r -U 5 a/platform/linuxbsd/detect.py b/platform/linuxbsd/detect.py
|
||||||
--- a/platform/linuxbsd/detect.py
|
--- a/platform/linuxbsd/detect.py
|
||||||
+++ b/platform/linuxbsd/detect.py
|
+++ b/platform/linuxbsd/detect.py
|
||||||
@@ -306,6 +306,7 @@ def configure(env: "Environment"):
|
@@ -305,10 +305,11 @@
|
||||||
|
env.Append(CPPDEFINES=["ALSA_ENABLED", "ALSAMIDI_ENABLED"])
|
||||||
|
|
||||||
if env["pulseaudio"]:
|
if env["pulseaudio"]:
|
||||||
if not env["use_sowrap"]:
|
if not env["use_sowrap"]:
|
||||||
if os.system("pkg-config --exists libpulse") == 0: # 0 means found
|
if os.system("pkg-config --exists libpulse") == 0: # 0 means found
|
||||||
@ -18,3 +21,5 @@ index 549319a750..0214ebd8bd 100644
|
|||||||
env.ParseConfig("pkg-config libpulse --cflags --libs")
|
env.ParseConfig("pkg-config libpulse --cflags --libs")
|
||||||
env.Append(CPPDEFINES=["PULSEAUDIO_ENABLED", "_REENTRANT"])
|
env.Append(CPPDEFINES=["PULSEAUDIO_ENABLED", "_REENTRANT"])
|
||||||
else:
|
else:
|
||||||
|
print("Warning: PulseAudio development libraries not found. Disabling the PulseAudio audio driver.")
|
||||||
|
env["pulseaudio"] = False
|
||||||
|
Loading…
Reference in New Issue
Block a user