diff options
Diffstat (limited to 'debian/pyrex/pyrex-0.9.9/bin/pyxcc')
-rwxr-xr-x | debian/pyrex/pyrex-0.9.9/bin/pyxcc | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/debian/pyrex/pyrex-0.9.9/bin/pyxcc b/debian/pyrex/pyrex-0.9.9/bin/pyxcc new file mode 100755 index 00000000..d1f96df2 --- /dev/null +++ b/debian/pyrex/pyrex-0.9.9/bin/pyxcc @@ -0,0 +1,15 @@ +#!/bin/sh +export MACOSX_DEPLOYMENT_TARGET=10.3 +ver=2.3 +if [ $1 == -p ]; then + ver=$2 + shift 2 +fi +base=$1 +gcc -g -c -fno-strict-aliasing -Wno-long-double -no-cpp-precomp \ + -mno-fused-madd -fno-common -dynamic -Wno-long-long \ + -Wno-unused-function \ + -I/Library/Frameworks/Python.framework/Versions/$ver/Headers \ + $base.c +gcc -Wl,-F.,-w -bundle -undefined dynamic_lookup \ + $base.o -o $base.so |