summaryrefslogtreecommitdiff
path: root/tools/testing/selftests/alsa/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'tools/testing/selftests/alsa/Makefile')
-rw-r--r--tools/testing/selftests/alsa/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/testing/selftests/alsa/Makefile b/tools/testing/selftests/alsa/Makefile
index f64d9090426d..fd8ddce2b1a6 100644
--- a/tools/testing/selftests/alsa/Makefile
+++ b/tools/testing/selftests/alsa/Makefile
@@ -3,6 +3,9 @@
CFLAGS += $(shell pkg-config --cflags alsa)
LDLIBS += $(shell pkg-config --libs alsa)
+ifeq ($(LDLIBS),)
+LDLIBS += -lasound
+endif
TEST_GEN_PROGS := mixer-test