From ba00fd7ff8e8f875d44b5aa91d6f60a42f7d641a Mon Sep 17 00:00:00 2001 From: Paul Brossier Date: Sat, 9 Feb 2013 15:56:59 -0500 Subject: [PATCH] build_osx: use xcode numpy --- interfaces/python/build_osx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/interfaces/python/build_osx b/interfaces/python/build_osx index 7cc37487..ccfa68af 100755 --- a/interfaces/python/build_osx +++ b/interfaces/python/build_osx @@ -3,7 +3,8 @@ set -e set -x -export CFLAGS="-I/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/numpy-1.8.0*/numpy/core/include/ -arch i386 -arch x86_64" +export CFLAGS="-I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/numpy/core/include/" +export CFLAGS="-arch i386 -arch x86_64 $CFLAGS" export LDFLAGS=-L../../build/src/ python setup.py clean build export PYTHONPATH=./build/lib.macosx-10.6-intel-2.7:$PYTHONPATH -- 2.26.2