diff configure.in @ 2652:380d926cc5a7 gsoc2008_force_feedback

Fix for mingw compilation of haptic subsystem by Alam.
author Edgar Simo <bobbens@gmail.com>
date Mon, 25 Aug 2008 17:30:39 +0000
parents 6d705ec89fb6
children
line wrap: on
line diff
--- a/configure.in	Mon Aug 25 10:10:13 2008 +0000
+++ b/configure.in	Mon Aug 25 17:30:39 2008 +0000
@@ -2327,6 +2327,7 @@
             if test x$have_dinput = xyes; then
                 AC_DEFINE(SDL_JOYSTICK_DINPUT)
                 SOURCES="$SOURCES $srcdir/src/joystick/win32/SDL_dxjoystick.c"
+                EXTRA_LDFLAGS="$EXTRA_LDFLAGS -ldinput8 -ldxguid -ldxerr8 -lole32"
             else
                 AC_DEFINE(SDL_JOYSTICK_WINMM)
                 SOURCES="$SOURCES $srcdir/src/joystick/win32/SDL_mmjoystick.c"