fix an library load path issue on OSX that affected the python plugin when built with the Intel compiler

metadata
Wenzel Jakob 2012-10-03 19:24:56 -04:00
parent d116214dd1
commit 76a02f87c7
1 changed files with 1 additions and 0 deletions

View File

@ -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