Makefile.am: compile OggVisitor.cxx only if libogg is used

This commit is contained in:
Max Kellermann 2016-05-14 10:33:54 +02:00
parent b5ecfb4c9a
commit 49597b0e9c

View File

@ -585,7 +585,6 @@ if HAVE_XIPH
noinst_LIBRARIES += libxiph.a
libxiph_a_SOURCES = \
src/lib/xiph/OggVisitor.cxx src/lib/xiph/OggVisitor.hxx \
src/lib/xiph/VorbisComment.hxx \
src/lib/xiph/VorbisComments.cxx src/lib/xiph/VorbisComments.hxx \
src/lib/xiph/XiphTags.cxx src/lib/xiph/XiphTags.hxx
@ -594,6 +593,7 @@ libxiph_a_CPPFLAGS = $(AM_CPPFLAGS) \
if HAVE_OGG
libxiph_a_SOURCES += \
src/lib/xiph/OggVisitor.cxx src/lib/xiph/OggVisitor.hxx \
src/lib/xiph/OggSerial.cxx src/lib/xiph/OggSerial.hxx \
src/lib/xiph/OggSyncState.cxx src/lib/xiph/OggSyncState.hxx \
src/lib/xiph/OggPage.hxx \