Mercurial > sdl-ios-xcode
annotate strip_fPIC.sh @ 18:d9e3595b63d5
Added pthread.h - necessary on some configurations
author | Sam Lantinga <slouken@lokigames.com> |
---|---|
date | Thu, 10 May 2001 18:31:21 +0000 |
parents | cf2af46e9e2a |
children | 48c34d68918e |
rev | line source |
---|---|
0 | 1 #!/bin/sh |
2 # | |
3 # libtool assumes that the compiler can handle the -fPIC flag | |
4 # This isn't always true (for example, nasm can't handle it) | |
5 command="" | |
1
cf2af46e9e2a
Changes since SDL 1.2.0 release
Sam Lantinga <slouken@lokigames.com>
parents:
0
diff
changeset
|
6 while [ $# -gt 0 ]; do |
0 | 7 if [ "$1" != "-fPIC" ]; then |
8 if [ "$1" != "-DPIC" ]; then | |
9 command="$command $1" | |
10 fi | |
11 fi | |
12 shift | |
13 done | |
14 echo $command | |
15 exec $command |