Skip to content

Commit

Permalink
Add workaround for link failure (undefined reference to '_time32') wh…
Browse files Browse the repository at this point in the history
…en cross-compiling with MinGW
  • Loading branch information
hillu committed Feb 21, 2015
1 parent 02d3c4c commit a4d33e2
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,12 @@ AC_PROG_YACC
LT_INIT
AC_PROG_LIBTOOL

AC_CANONICAL_HOST

case $host_alias in
i?86-*-mingw*) CFLAGS="$CFLAGS -D__MINGW_USE_VC2005_COMPAT" ;;
esac

AC_ARG_ENABLE([dmalloc],
[AS_HELP_STRING([--enable-dmalloc],
[enable dmalloc to debug heap-related issues])],
Expand Down

0 comments on commit a4d33e2

Please sign in to comment.