summaryrefslogtreecommitdiff
path: root/drivers/alsa/SCsub
diff options
context:
space:
mode:
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")