From 2141fce492bf98df2ff10f3773f2467e73611869 Mon Sep 17 00:00:00 2001 From: Wenzel Jakob Date: Mon, 28 Jan 2013 00:44:53 -0500 Subject: [PATCH] got the python plugin to run on OSX without the need to declare DYLD_LIBRARY_PATH --- 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 947ad417..9db846ad 100755 --- a/data/darwin/add-icl-libraries.sh +++ b/data/darwin/add-icl-libraries.sh @@ -1,5 +1,6 @@ #!/bin/bash cp /opt/intel/composer_xe_*/compiler/lib/libiomp5.dylib Mitsuba.app/Contents/Frameworks +install_name_tool -id @rpath/libiomp5.dylib Mitsuba.app/Contents/Frameworks/libiomp5.dylib 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/python -type f | xargs -n 1 install_name_tool -change libiomp5.dylib @rpath/libiomp5.dylib