Ignore:
Timestamp:
10/06/08 20:30:46 (16 years ago)
Author:
r2d
Message:

fix cross-compilation with mingw (patch by Leandro Nini)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libmpc/trunk/configure.in

    r384 r410  
    1111AC_CHECK_HEADERS(replaygain/gain_analysis.h)
    1212
     13AC_CANONICAL_HOST()
     14case $host_os in
     15        *mingw32* )
     16                LDFLAGS="${LDFLAGS} -mwindows"
     17                EXTRALIBS="-lwinmm"
     18                ;;
     19        * )
     20                EXTRALIBS=""
     21                ;;
     22esac
     23
     24AC_SUBST([EXTRALIBS])
     25
    1326AC_OUTPUT(Makefile include/Makefile libmpcdec/Makefile libmpcenc/Makefile \
    1427        libmpcpsy/Makefile libwavformat/Makefile mpc2sv8/Makefile mpcchap/Makefile mpccut/Makefile \
Note: See TracChangeset for help on using the changeset viewer.