mirror of
https://github.com/claunia/flac.git
synced 2025-12-16 18:54:26 +00:00
Enure that libFLAC is linked with -lm on all architectures, and regardless of
whether nasm is present
This commit is contained in:
@@ -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 \
|
||||
|
||||
Reference in New Issue
Block a user