27 lines
1.1 KiB
Diff
27 lines
1.1 KiB
Diff
|
Index: src/Makefile.am
|
||
|
===================================================================
|
||
|
--- src/Makefile.am.orig
|
||
|
+++ src/Makefile.am
|
||
|
@@ -54,7 +54,7 @@ aegisub_2_1_LDADD += libaudio_player.a
|
||
|
if HAVE_ALSA
|
||
|
noinst_LIBRARIES += libaudio_alsa.a
|
||
|
libaudio_alsa_a_SOURCES = audio_player_alsa.cpp
|
||
|
-aegisub_2_1_LDADD += libaudio_alsa.a @ALSA_LIBS@
|
||
|
+aegisub_2_1_LDADD += libaudio_alsa.a @ALSA_LIBS@ -lrt
|
||
|
endif
|
||
|
|
||
|
if HAVE_PORTAUDIO
|
||
|
Index: src/Makefile.in
|
||
|
===================================================================
|
||
|
--- src/Makefile.in.orig
|
||
|
+++ src/Makefile.in
|
||
|
@@ -40,7 +40,7 @@ host_triplet = @host@
|
||
|
bin_PROGRAMS = aegisub-2.1$(EXEEXT)
|
||
|
@BUILD_DARWIN_TRUE@am__append_3 = -L/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries
|
||
|
@HAVE_ALSA_TRUE@am__append_4 = libaudio_alsa.a
|
||
|
-@HAVE_ALSA_TRUE@am__append_5 = libaudio_alsa.a @ALSA_LIBS@
|
||
|
+@HAVE_ALSA_TRUE@am__append_5 = libaudio_alsa.a @ALSA_LIBS@ -lrt
|
||
|
@HAVE_PORTAUDIO_TRUE@am__append_6 = libaudio_portaudio.a
|
||
|
@HAVE_PORTAUDIO_TRUE@am__append_7 = libaudio_portaudio.a @PORTAUDIO_LIBS@
|
||
|
@HAVE_PULSEAUDIO_TRUE@am__append_8 = libaudio_pulseaudio.a
|