Makefile.am: check HAVE_OGG for OggDecoder.cxx

Fixes build failure when Vorbis is disabled, but FLAC is enabled
(HAVE_XIPH is true, but HAVE_OGG is false).
This commit is contained in:
Max Kellermann 2016-07-12 18:10:40 +02:00
parent 44219d5e91
commit c436e29b89

View File

@ -1032,9 +1032,13 @@ libdecoder_a_SOURCES += \
src/decoder/plugins/FaadDecoderPlugin.cxx src/decoder/plugins/FaadDecoderPlugin.hxx
endif
if HAVE_OGG
libdecoder_a_SOURCES += \
src/decoder/plugins/OggDecoder.cxx src/decoder/plugins/OggDecoder.hxx
endif
if HAVE_XIPH
libdecoder_a_SOURCES += \
src/decoder/plugins/OggDecoder.cxx src/decoder/plugins/OggDecoder.hxx \
src/decoder/plugins/OggCodec.cxx src/decoder/plugins/OggCodec.hxx
endif