From 76a02f87c7be94bec45ef83a04101a5c3c3eb02a Mon Sep 17 00:00:00 2001 From: Wenzel Jakob Date: Wed, 3 Oct 2012 19:24:56 -0400 Subject: [PATCH] fix an library load path issue on OSX that affected the python plugin when built with the Intel compiler --- data/darwin/add-icl-libraries.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/data/darwin/add-icl-libraries.sh b/data/darwin/add-icl-libraries.sh index 76b3f5f7..e35e925d 100755 --- a/data/darwin/add-icl-libraries.sh +++ b/data/darwin/add-icl-libraries.sh @@ -2,3 +2,4 @@ cp /opt/intel/composer_xe_*/compiler/lib/libiomp5.dylib Mitsuba.app/Contents/Frameworks find Mitsuba.app/Contents/MacOS/ Mitsuba.app/plugins -type f | xargs -n 1 install_name_tool -change libiomp5.dylib @rpath/libiomp5.dylib find Mitsuba.app/Contents/Frameworks/libmitsuba-* -type f | xargs -n 1 install_name_tool -change libiomp5.dylib @rpath/libiomp5.dylib +find Mitsuba.app/Contents/python -type f | xargs -n 1 install_name_tool -change libiomp5.dylib @rpath/libiomp5.dylib