Commit 61e8d3b2 authored by Josh Coalson's avatar Josh Coalson
Browse files

move placement of -lm ala Christian

parent 1501f897
......@@ -29,10 +29,4 @@ flac_SOURCES = \
encode.h \
file.h
if FLaC__HAS_OGG
flac_LDFLAGS = -lm
else
flac_LDFLAGS = -lm -logg
endif
flac_LDADD = $(top_builddir)/src/libFLAC/libFLAC.la
flac_LDADD = $(top_builddir)/src/libFLAC/libFLAC.la -lm
......@@ -20,6 +20,6 @@ CFLAGS = @CFLAGS@
noinst_PROGRAMS = test_streams
test_streams_SOURCES = \
main.c
test_streams_LDFLAGS = -lm
test_streams_LDADD = -lm
CLEANFILES = $(wildcard *.raw)
......@@ -19,8 +19,7 @@ CFLAGS = @CFLAGS@
INCLUDES = -I$(top_srcdir)/src/libFLAC/include
noinst_PROGRAMS = test_unit
test_unit_LDFLAGS = -lm
test_unit_LDADD = $(top_builddir)/src/libFLAC/libFLAC.la
test_unit_LDADD = $(top_builddir)/src/libFLAC/libFLAC.la -lm
test_unit_SOURCES = \
bitbuffer.c \
main.c \
......
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