]> git.tue.mpg.de Git - paraslash.git/commitdiff
build: ldflags conversion: libao.
authorAndre Noll <maan@systemlinux.org>
Fri, 13 Sep 2013 06:12:38 +0000 (06:12 +0000)
committerAndre Noll <maan@systemlinux.org>
Sun, 1 Dec 2013 10:51:59 +0000 (11:51 +0100)
Makefile.in
configure.ac

index 9c9f1f15eb1c36ecb4aa603f3a8d87f65342281c..833af84740ed6d31499499ec9623707c59229c89 100644 (file)
@@ -32,6 +32,7 @@ mad_ldflags := @mad_ldflags@
 flac_ldflags := @flac_ldflags@
 oss_ldflags := @oss_ldflags@
 alsa_ldflags := @alsa_ldflags@
+ao_ldflags := @ao_ldflags@
 
 build_date := $(shell date)
 uname_s := $(shell uname -s 2>/dev/null || echo "UNKNOWN_OS")
@@ -267,6 +268,7 @@ endif
 
 para_recv para_afh para_play para_server: LDFLAGS += $(id3tag_ldflags)
 para_audiod para_filter para_play: LDFLAGS += $(mad_ldflags)
+para_write para_play para_audiod: LDFLAGS += $(ao_ldflags)
 
 para_write \
 para_play \
index 9d2edaaf863e058bd73076ce04dfa51bdba74ea0..d72b9797fb4655eb3ad7996b1ae59fa7fe637467 100644 (file)
@@ -975,19 +975,19 @@ if test "$have_ao" = "yes"; then
        ])
 fi
 if test "$have_ao" = "yes"; then
+       AC_SUBST(ao_cppflags)
+       ao_ldflags="$ao_libs -lao -lpthread"
+       AC_SUBST(ao_ldflags)
+
        audiod_errlist_objs="$audiod_errlist_objs ao_write"
        audiod_cmdline_objs="$audiod_cmdline_objs ao_write"
-       audiod_ldflags="$audiod_ldflags -lao -lpthread"
 
        play_errlist_objs="$play_errlist_objs ao_write"
        play_cmdline_objs="$play_cmdline_objs ao_write"
-       play_ldflags="$play_ldflags -lao -lpthread"
 
        write_errlist_objs="$write_errlist_objs ao_write"
        write_cmdline_objs="$write_cmdline_objs ao_write"
-       write_ldflags="$write_ldflags $ao_libs -lao -lpthread"
        writers="$writers ao"
-       AC_SUBST(ao_cppflags)
 fi
 
 CPPFLAGS="$OLD_CPPFLAGS"