Commit c436e29b authored by Max Kellermann's avatar Max Kellermann

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).
parent 44219d5e
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment