Mercurial > sdl-ios-xcode
view build-scripts/strip_fPIC.sh @ 4368:4c088d2b29eb SDL-1.2
Fixed bug #861
C.W. Betts 2009-10-19 19:16:41 PDT
In 64-bit libraries, the fork reference is a different size than in 32-bit.
Apple has tried to help this transition by making a typedef called FSIORefNum,
but it is only available in Mac OS X 10.5 headers or later. I first noticed
this bug in Mac OS X's CD player code, and the patch is set to fix it
accordingly. This might also be an issue in SDL_QuartzVideo.m
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Tue, 20 Oct 2009 03:45:06 +0000 |
parents | 27fe0dd48269 |
children |
line wrap: on
line source
#!/bin/sh # # libtool assumes that the compiler can handle the -fPIC flag # This isn't always true (for example, nasm can't handle it) command="" while [ $# -gt 0 ]; do case "$1" in -fPIC) # Ignore -fPIC option ;; -fno-common) # Ignore -fPIC and -DPIC options ;; *) command="$command $1" ;; esac shift done echo $command exec $command