Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files

Adds some required CFLAGS and LDFLAGS for the iOS platform

  • Loading branch information
gabomdq committed Mar 4, 2013
1 parent c039ec2 commit 4154af3dd9afdc3c1b1286378ed193f707403f1f
Showing with 18 additions and 0 deletions.
  1. +9 −0 configure
  2. +9 −0 configure.in
# The iOS platform requires special setup.
SOURCES="$SOURCES $srcdir/src/video/uikit/*.m"
SOURCES="$SOURCES $srcdir/src/video/uikit/*.c"
EXTRA_CFLAGS="$EXTRA_CFLAGS -fpascal-strings"
EXTRA_LDFLAGS="$EXTRA_LDFLAGS -lm -liconv -lobjc"
EXTRA_LDFLAGS="$EXTRA_LDFLAGS -Wl,-framework,Foundation"
EXTRA_LDFLAGS="$EXTRA_LDFLAGS -Wl,-framework,UIKit"
EXTRA_LDFLAGS="$EXTRA_LDFLAGS -Wl,-framework,OpenGLES"
EXTRA_LDFLAGS="$EXTRA_LDFLAGS -Wl,-framework,QuartzCore"
EXTRA_LDFLAGS="$EXTRA_LDFLAGS -Wl,-framework,CoreAudio"
EXTRA_LDFLAGS="$EXTRA_LDFLAGS -Wl,-framework,AudioToolbox"
EXTRA_LDFLAGS="$EXTRA_LDFLAGS -Wl,-framework,CoreGraphics"
;;
*-*-darwin* )
# This could be either full "Mac OS X", or plain "Darwin" which is
@@ -2510,6 +2510,15 @@ AC_HELP_STRING([--enable-render-d3d], [enable the Direct3D render driver [[defau
# The iOS platform requires special setup.
SOURCES="$SOURCES $srcdir/src/video/uikit/*.m"
SOURCES="$SOURCES $srcdir/src/video/uikit/*.c"
EXTRA_CFLAGS="$EXTRA_CFLAGS -fpascal-strings"
EXTRA_LDFLAGS="$EXTRA_LDFLAGS -lm -liconv -lobjc"
EXTRA_LDFLAGS="$EXTRA_LDFLAGS -Wl,-framework,Foundation"
EXTRA_LDFLAGS="$EXTRA_LDFLAGS -Wl,-framework,UIKit"
EXTRA_LDFLAGS="$EXTRA_LDFLAGS -Wl,-framework,OpenGLES"
EXTRA_LDFLAGS="$EXTRA_LDFLAGS -Wl,-framework,QuartzCore"
EXTRA_LDFLAGS="$EXTRA_LDFLAGS -Wl,-framework,CoreAudio"
EXTRA_LDFLAGS="$EXTRA_LDFLAGS -Wl,-framework,AudioToolbox"
EXTRA_LDFLAGS="$EXTRA_LDFLAGS -Wl,-framework,CoreGraphics"
;;
*-*-darwin* )
# This could be either full "Mac OS X", or plain "Darwin" which is

0 comments on commit 4154af3

Please sign in to comment.