pcm: --disable-dsd also disables the dsd2pcm library

This commit is contained in:
Max Kellermann
2014-09-26 10:52:46 +02:00
parent 052726ed50
commit 3120958a17
3 changed files with 17 additions and 3 deletions
+6 -2
View File
@@ -464,8 +464,6 @@ libpcm_a_SOURCES = \
src/pcm/PcmBuffer.cxx src/pcm/PcmBuffer.hxx \
src/pcm/PcmExport.cxx src/pcm/PcmExport.hxx \
src/pcm/PcmConvert.cxx src/pcm/PcmConvert.hxx \
src/pcm/dsd2pcm/dsd2pcm.c src/pcm/dsd2pcm/dsd2pcm.h \
src/pcm/PcmDsd.cxx src/pcm/PcmDsd.hxx \
src/pcm/PcmDop.cxx src/pcm/PcmDop.hxx \
src/pcm/Volume.cxx src/pcm/Volume.hxx \
src/pcm/PcmMix.cxx src/pcm/PcmMix.hxx \
@@ -493,6 +491,12 @@ PCM_LIBS = \
$(SOXR_LIBS) \
$(SAMPLERATE_LIBS)
if ENABLE_DSD
libpcm_a_SOURCES += \
src/pcm/PcmDsd.cxx src/pcm/PcmDsd.hxx \
src/pcm/dsd2pcm/dsd2pcm.c src/pcm/dsd2pcm/dsd2pcm.h
endif
if HAVE_LIBSAMPLERATE
libpcm_a_SOURCES += \
src/pcm/LibsamplerateResampler.cxx src/pcm/LibsamplerateResampler.hxx