From: Matt Zimmerman Date: Fri, 16 Apr 2004 22:20:07 +0000 (+0000) Subject: Enure that libFLAC is linked with -lm on all architectures, and regardless of X-Git-Tag: 1.2.0~905 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=04027adf9191b4bc15e866eb9d429f03393bc5ab;p=platform%2Fupstream%2Fflac.git Enure that libFLAC is linked with -lm on all architectures, and regardless of whether nasm is present --- diff --git a/src/libFLAC/Makefile.am b/src/libFLAC/Makefile.am index aef7630..920ddf2 100644 --- a/src/libFLAC/Makefile.am +++ b/src/libFLAC/Makefile.am @@ -39,9 +39,7 @@ else if FLaC__CPU_IA32 if FLaC__HAS_NASM ARCH_SUBDIRS = ia32 -libFLAC_la_LIBADD = -lm ia32/libFLAC-asm.la -else -libFLAC_la_LIBADD = -lm +libFLAC_la_LIBADD = ia32/libFLAC-asm.la endif endif endif @@ -58,7 +56,7 @@ EXTRA_DIST = \ libFLAC.m4 # see 'http://www.gnu.org/software/libtool/manual.html#Versioning' for numbering convention -libFLAC_la_LDFLAGS = -version-info 5:2:1 +libFLAC_la_LDFLAGS = -version-info 5:2:1 -lm libFLAC_la_SOURCES = \ bitbuffer.c \ bitmath.c \