Commit b35c2956 authored by Tristan Matthews's avatar Tristan Matthews

autotools: fix linking for building speexdec with mingw

Reported by Roger Pack.
parent 9172c7ef
......@@ -194,9 +194,12 @@ AC_ARG_ENABLE(blackfin-asm, [ --enable-blackfin-asm Make use of Blackfin asse
[if test "$enableval" = yes; then
AC_DEFINE([BFIN_ASM], , [Make use of Blackfin assembly optimizations])
case $host_os in
uclinux) LDFLAGS="-Wl,-elf2flt=-s100000 $LDFLAGS";;
*mingw*) WINMM_LIBS="-lwinmm";;
AC_ARG_ENABLE(fixed-point-debug, [ --enable-fixed-point-debug Debug fixed-point implementation],
[if test "$enableval" = yes; then
......@@ -24,5 +24,5 @@ speexenc_LDADD = $(top_builddir)/libspeex/ \
speexdec_SOURCES = speexdec.c wav_io.c
speexdec_LDADD = $(top_builddir)/libspeex/ \
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