summaryrefslogtreecommitdiff
path: root/drivers/alsa/SCsub
diff options
context:
space:
mode:
authorbruvzg <7645683+bruvzg@users.noreply.github.com>2023-02-15 14:13:56 +0200
committerbruvzg <7645683+bruvzg@users.noreply.github.com>2023-02-16 16:38:47 +0200
commitdd068794c3fc811ca3011e63bd74ee50f2ccc591 (patch)
treea69b925d659ff39bdcac8078e5288a4b81c397b7 /drivers/alsa/SCsub
parent953383328af17e8c9fd6359285c12617cb22f636 (diff)
[Linux] Make SO wrapper usage optional.
Diffstat (limited to 'drivers/alsa/SCsub')
-rw-r--r--drivers/alsa/SCsub3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/alsa/SCsub b/drivers/alsa/SCsub
index 1d76bb18c4..f17acb0f91 100644
--- a/drivers/alsa/SCsub
+++ b/drivers/alsa/SCsub
@@ -3,6 +3,7 @@
Import("env")
if "alsa" in env and env["alsa"]:
- env.add_source_files(env.drivers_sources, "asound-so_wrap.c")
+ if env["use_sowrap"]:
+ env.add_source_files(env.drivers_sources, "asound-so_wrap.c")
env.add_source_files(env.drivers_sources, "*.cpp")