From: ehofman Date: Sun, 11 Sep 2005 09:53:55 +0000 (+0000) Subject: MingW32 fixes. X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=62bb2277bc57d6042e3a7d3f43872c62f6e64d8b;p=flightgear.git MingW32 fixes. --- diff --git a/configure.ac b/configure.ac index 845dc6924..2cf0859d6 100644 --- a/configure.ac +++ b/configure.ac @@ -229,7 +229,7 @@ case "${host}" in case "${host}" in *-*-mingw32*) echo "********** BUILDING FOR MINGW32 *************" - base_LIBS="$base_LIBS -lws2_32" + network_LIBS="$network_LIBS -lws2_32" ;; esac diff --git a/src/Traffic/Schedule.cxx b/src/Traffic/Schedule.cxx index a643c8eb7..819fa1bed 100644 --- a/src/Traffic/Schedule.cxx +++ b/src/Traffic/Schedule.cxx @@ -447,7 +447,7 @@ void FGAISchedule::setClosestDistanceToUser() FGAirport *dep; -#ifdef __CYGWIN__ +#if defined( __CYGWIN__) || defined( __MINGW32__) #define HUGE HUGE_VAL #endif distanceToUser = HUGE; diff --git a/tests/Makefile.am b/tests/Makefile.am index 3f9e130fb..42a4c4756 100644 --- a/tests/Makefile.am +++ b/tests/Makefile.am @@ -3,6 +3,7 @@ bin_PROGRAMS = est-epsilon gl-info noinst_PROGRAMS = test-gethostname test-mktime test-text test-up test-env-map est_epsilon_SOURCES = est-epsilon.c +est_epsilon_LDADD = $(opengl_LIBS) gl_info_SOURCES = gl-info.c gl_info_LDADD = $(opengl_LIBS)