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:
parent
44219d5e91
commit
c436e29b89
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user