Fixed #1285: Add support for SDL 1.3
git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/2.0-dev@3577 74dad513-b988-da41-8d7b-12977e46ad98
diff --git a/pjmedia/build/os-auto.mak.in b/pjmedia/build/os-auto.mak.in
index 99fc16b..044339e 100644
--- a/pjmedia/build/os-auto.mak.in
+++ b/pjmedia/build/os-auto.mak.in
@@ -163,8 +163,8 @@
#
# Determine whether we should compile the obj-c version of a particular source code
#
-ifeq ($(AC_PJMEDIA_VIDEO),mac_os)
-# Mac OS specific, use obj-c
+ifeq ($(AC_PJMEDIA_VIDEO),$(filter $(AC_PJMEDIA_VIDEO),mac_os iphone_os))
+# Mac and iPhone OS specific, use obj-c
export PJMEDIA_VIDEODEV_OBJS += sdl_dev_m.o
else
# Other platforms, compile .c