Fixed bug 4357 - iosbuild.sh broken with SDL 2.0.9
Christoph Charles The new source files for coremotion sensors don't seem to have been included correctly in configure.in. This leads to the build script ios-build.sh to fail at link time, complaining about missing symbols, namely about missing SDL_COREMOTION_SensorDriver.
parent
4c9628a002
commit
41dad5d7f3
|
@ -25106,6 +25106,14 @@ $as_echo "#define SDL_JOYSTICK_MFI 1" >>confdefs.h
|
||||||
# have_haptic=yes
|
# have_haptic=yes
|
||||||
# EXTRA_LDFLAGS="$EXTRA_LDFLAGS -Wl,-framework,ForceFeedback"
|
# EXTRA_LDFLAGS="$EXTRA_LDFLAGS -Wl,-framework,ForceFeedback"
|
||||||
#fi
|
#fi
|
||||||
|
# Set up files for the sensor library
|
||||||
|
if test x$enable_sensor = xyes; then
|
||||||
|
|
||||||
|
$as_echo "#define SDL_SENSOR_COREMOTION 1" >>confdefs.h
|
||||||
|
|
||||||
|
SOURCES="$SOURCES $srcdir/src/sensor/coremotion/*.m"
|
||||||
|
have_sensor=yes
|
||||||
|
fi
|
||||||
# Set up files for the power library
|
# Set up files for the power library
|
||||||
if test x$enable_power = xyes; then
|
if test x$enable_power = xyes; then
|
||||||
|
|
||||||
|
|
|
@ -3856,6 +3856,12 @@ AS_HELP_STRING([--enable-render-d3d], [enable the Direct3D render driver [[defau
|
||||||
# have_haptic=yes
|
# have_haptic=yes
|
||||||
# EXTRA_LDFLAGS="$EXTRA_LDFLAGS -Wl,-framework,ForceFeedback"
|
# EXTRA_LDFLAGS="$EXTRA_LDFLAGS -Wl,-framework,ForceFeedback"
|
||||||
#fi
|
#fi
|
||||||
|
# Set up files for the sensor library
|
||||||
|
if test x$enable_sensor = xyes; then
|
||||||
|
AC_DEFINE(SDL_SENSOR_COREMOTION, 1, [ ])
|
||||||
|
SOURCES="$SOURCES $srcdir/src/sensor/coremotion/*.m"
|
||||||
|
have_sensor=yes
|
||||||
|
fi
|
||||||
# Set up files for the power library
|
# Set up files for the power library
|
||||||
if test x$enable_power = xyes; then
|
if test x$enable_power = xyes; then
|
||||||
AC_DEFINE(SDL_POWER_UIKIT, 1, [ ])
|
AC_DEFINE(SDL_POWER_UIKIT, 1, [ ])
|
||||||
|
|
Loading…
Reference in New Issue