From 8f39210c2648900c917cb08680c2618f583ca987 Mon Sep 17 00:00:00 2001 From: Eduardo DAVILA Date: Sun, 10 Apr 2022 11:33:05 +0200 Subject: [PATCH] #3405 vtk8itk5wx3-macos --- Linux/scripts/CreaTools-GenerateBinTGZ.sh | 28 +++++++++++++++++++---- 1 file changed, 23 insertions(+), 5 deletions(-) diff --git a/Linux/scripts/CreaTools-GenerateBinTGZ.sh b/Linux/scripts/CreaTools-GenerateBinTGZ.sh index 73a65f2..2ba254a 100644 --- a/Linux/scripts/CreaTools-GenerateBinTGZ.sh +++ b/Linux/scripts/CreaTools-GenerateBinTGZ.sh @@ -145,13 +145,14 @@ cp /opt/local/lib/libicuuc.67.dylib . cp /opt/local/lib/libiconv.2.dylib . - cp /opt/local/lib/libarchive.dylib . cp /opt/local/lib/liblzo2.2.dylib . - cp /opt/local/lib/liblzma.5.dylib . cp /opt/local/lib/liblz4.1.dylib . - cp /opt/local/lib/libcharset.1.dylib . - cp /opt/local/lib/libbz2.1.0.dylib . - cp /opt/local/lib/libxml2.2.dylib . +# cp /opt/local/lib/libarchive.dylib . + # cp /opt/local/lib/liblzma.5.dylib . + # cp /opt/local/lib/libcharset.1.dylib . + # cp /opt/local/lib/libbz2.1.0.dylib . + # cp /opt/local/lib/libxml2.2.dylib . + cp /opt/local/lib/libomp/libomp.dylib . fi @@ -199,6 +200,23 @@ echo " \`getDownloadCommand\` https://www.creatis.insa-lyon.fr/software/public/creatools/creaTools/v\$creatoolsMajorVersion.x.x/$fileTGZauxf28" >> $filename_BinVersion echo " tar -xvzf $fileTGZauxf28" >> $filename_BinVersion echo " rm -f $fileTGZauxf28" >> $filename_BinVersion + + echo " cd creatoolsTPLaux/lib" >> $filename_BinVersion + echo " ln -s libwx_baseu-3.0.0.5.0.dylib libwx_baseu-3.0.dylib" >> $filename_BinVersion + echo " ln -s libwx_osx_cocoau_adv-3.0.0.5.0.dylib libwx_osx_cocoau_adv-3.0.dylib" >> $filename_BinVersion + echo " ln -s libwx_osx_cocoau_aui-3.0.0.5.0.dylib libwx_osx_cocoau_aui-3.0.dylib" >> $filename_BinVersion + echo " ln -s libwx_osx_cocoau_core-3.0.0.5.0.dylib libwx_osx_cocoau_core-3.0.dylib" >> $filename_BinVersion + echo " ln -s libwx_osx_cocoau_gl-3.0.0.5.0.dylib libwx_osx_cocoau_gl-3.0.dylib" >> $filename_BinVersion + echo " ln -s libwx_osx_cocoau_html-3.0.0.5.0.dylib libwx_osx_cocoau_html-3.0.dylib" >> $filename_BinVersion + echo "ACTUALDIRLINK=\$(pwd)" >> $filename_BinVersion + echo "install_name_tool -change /opt/local/lib/libiconv.2.dylib $ACTUALDIRLINK/libiconv.2.dylib libwx_baseu-3.0.dylib" >> $filename_BinVersion + echo "install_name_tool -change /opt/local/lib/libiconv.2.dylib $ACTUALDIRLINK/libiconv.2.dylib libwx_osx_cocoau_core-3.0.dylib" >> $filename_BinVersion + echo "install_name_tool -change /opt/local/lib/libiconv.2.dylib $ACTUALDIRLINK/libiconv.2.dylib libwx_osx_cocoau_adv-3.0.dylib" >> $filename_BinVersion + echo "install_name_tool -change /opt/local/lib/libiconv.2.dylib $ACTUALDIRLINK/libiconv.2.dylib libwx_osx_cocoau_html-3.0.dylib" >> $filename_BinVersion + echo "install_name_tool -change /opt/local/lib/libiconv.2.dylib $ACTUALDIRLINK/libiconv.2.dylib libwx_osx_cocoau_aui-3.0.dylib" >> $filename_BinVersion + echo "install_name_tool -change /opt/local/lib/libiconv.2.dylib $ACTUALDIRLINK/libiconv.2.dylib libwx_osx_cocoau_gl-3.0.dylib" >> $filename_BinVersion + echo " cd ../.." >> $filename_BinVersion + echo " installPrefixTPLaux=\$(pwd)/creatoolsTPLaux #You need this variable in the -barshrc script" >> $filename_BinVersion echo " source creatoolsTPLaux/share/creatools/TPLaux-bashrc.sh" >> $filename_BinVersion -- 2.47.1