Even when we don't have any audio players audio_player.cpp is still required in order to register the fact that there are no audio players.

Originally committed to SVN as r3098.
This commit is contained in:
Amar Takhar 2009-07-04 15:53:52 +00:00
parent 349dd2cfe4
commit fa54e72105

View file

@ -30,12 +30,10 @@ if BUILD_DARWIN
aegisub_2_1_LDFLAGS += -L/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries
endif
if FOUND_AUDIO_PLAYER
noinst_LIBRARIES += libaudio_player.a
libaudio_player_a_SOURCES = audio_player.cpp
libaudio_player_a_CPPFLAGS = @ALSA_CFLAGS@ @PORTAUDIO_CFLAGS@ @LIBPULSE_CFLAGS@ @OPENAL_CFLAGS@
aegisub_2_1_LDADD += libaudio_player.a
endif
if HAVE_ALSA
noinst_LIBRARIES += libaudio_alsa.a