Permalink
Browse files

support for build win32 binary (mingw-w64) on Ubuntu

  • Loading branch information...
nitslp-ri committed Sep 22, 2017
1 parent ef401d1 commit 0c20037daf2fed68f85ba14e2a3692350020ae98
Showing with 5 additions and 4 deletions.
  1. +3 −3 libsent/configure
  2. +1 −1 libsent/configure.in
  3. +1 −0 support/cflags.x86_64-w64-mingw32
View
@@ -5114,10 +5114,10 @@ fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dsound_main" >&5
$as_echo "$ac_cv_lib_dsound_main" >&6; }
if test "x$ac_cv_lib_dsound_main" = xyes; then :
for ac_header in DSound.h
for ac_header in dsound.h
do :
ac_fn_c_check_header_mongrel "$LINENO" "DSound.h" "ac_cv_header_DSound_h" "$ac_includes_default"
if test "x$ac_cv_header_DSound_h" = xyes; then :
ac_fn_c_check_header_mongrel "$LINENO" "dsound.h" "ac_cv_header_dsound_h" "$ac_includes_default"
if test "x$ac_cv_header_dsound_h" = xyes; then :
cat >>confdefs.h <<_ACEOF
#define HAVE_DSOUND_H 1
_ACEOF
View
@@ -456,7 +456,7 @@ case $altype in
;;
cygwin*|mingw*)
AC_CHECK_LIB(dsound,main,
AC_CHECK_HEADERS(DSound.h,
AC_CHECK_HEADERS(dsound.h,
altype="pa-dsound",
altype="pa-winmm"),
altype="pa-winmm")
@@ -0,0 +1 @@
CFLAGS='-O6 -fomit-frame-pointer'

0 comments on commit 0c20037

Please sign in to comment.