Commit c1bc43f7 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

Fix linking with -lm

parent 16528786
......@@ -7,5 +7,6 @@ libao_la_SOURCES = audio_out.c audio_out_null.c audio_out_float.c \
audio_out_win.c audio_out_wav.c audio_out_aif.c \
audio_out_peak.c convert2s16.c \
audio_out_internal.h
libao_la_LIBADD = $(LIBAO_LIBS)
EXTRA_DIST = configure.incl
......@@ -6,6 +6,7 @@ libdca_la_SOURCES = dca_internal.h tables.h tables_quantization.h \
tables_huffman.h tables_fir.h tables_adpcm.h tables_vq.h \
bitstream.h bitstream.c parse.c downmix.c
libdca_la_LDFLAGS = -no-undefined -version 0:0:0 -export-symbol-regex dca_.*
libdca_la_LIBADD = $(LIBDCA_LIBS)
pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = libdca.pc libdts.pc
......
......@@ -3,8 +3,7 @@ AM_CPPFLAGS = -I$(top_srcdir)/include
bin_PROGRAMS = dcadec extract_dca
dcadec_SOURCES = dcadec.c getopt.h getopt.c gettimeofday.h gettimeofday.c
dcadec_LDADD = ../libdca/libdca.la \
../libao/libao.la $(LIBAO_LIBS)
dcadec_LDADD = ../libdca/libdca.la ../libao/libao.la
extract_dca_SOURCES = extract_dca.c getopt.c
man1_MANS = dcadec.1 extract_dca.1
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment