From: Paul Brossier Date: Sun, 15 Jul 2012 21:10:48 +0000 (-0600) Subject: interfaces/python/build_osx: update and build fat binary X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=9ccd89fae4ed7a7975483fa5fd6001dc8388f826;p=aubio.git interfaces/python/build_osx: update and build fat binary --- diff --git a/interfaces/python/build_osx b/interfaces/python/build_osx index 572270a7..305bb39d 100755 --- a/interfaces/python/build_osx +++ b/interfaces/python/build_osx @@ -1,6 +1,9 @@ #! /bin/sh -export CFLAGS=-I/Users/piem/Library/Python/2.7/site-packages/numpy-1.8.0.dev_436a28f_20120710-py2.7-macosx-10.7-x86_64.egg/numpy/core/include/ +set -e +set -x + +export CFLAGS="-I/Users/piem/Library/Python/2.7/site-packages/numpy-1.8.0.dev_436a28f_20120710-py2.7-macosx-10.7-x86_64.egg/numpy/core/include/ -arch i386 -arch x86_64" export LDFLAGS=-L../../build/src/ python setup.py clean build export PYTHONPATH=./build/lib.macosx-10.6-intel-2.7:$PYTHONPATH