From 4cc33c5b0d10be5d0d6cdb424a02833cb35ed563 Mon Sep 17 00:00:00 2001 From: Andreas Eversberg Date: Sun, 21 Jan 2018 10:43:45 +0100 Subject: Make sound card support (Alsa) optional --- src/jolly/Makefile.am | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'src/jolly') diff --git a/src/jolly/Makefile.am b/src/jolly/Makefile.am index 7afe84d..e36515f 100644 --- a/src/jolly/Makefile.am +++ b/src/jolly/Makefile.am @@ -24,12 +24,16 @@ jollycom_LDADD = \ $(top_builddir)/src/libfilter/libfilter.a \ $(top_builddir)/src/libwave/libwave.a \ $(top_builddir)/src/libmncc/libmncc.a \ - $(top_builddir)/src/libsound/libsound.a \ $(top_builddir)/src/libsample/libsample.a \ $(top_builddir)/src/libfm/libfm.a \ - $(ALSA_LIBS) \ -lm +if HAVE_ALSA +jollycom_LDADD += \ + $(top_builddir)/src/libsound/libsound.a \ + $(ALSA_LIBS) +endif + if HAVE_SDR jollycom_LDADD += \ $(top_builddir)/src/libsdr/libsdr.a \ -- cgit v1.2.3