From: Nabil Ghodbane Date: Fri, 30 Sep 2022 12:18:35 +0000 (+0200) Subject: Fix PyFMI compilation issue on Fedora 36 X-Git-Tag: V9_11_0~282 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=5b971534fe30ea9edc673cbf348eaee7b0b49830;p=tools%2Fsat_salome.git Fix PyFMI compilation issue on Fedora 36 --- diff --git a/products/compil_scripts/PyFMI-2.6.sh b/products/compil_scripts/PyFMI-2.6.sh index 152546c..8f8faff 100755 --- a/products/compil_scripts/PyFMI-2.6.sh +++ b/products/compil_scripts/PyFMI-2.6.sh @@ -40,6 +40,10 @@ fi if [ -d "$PRODUCT_INSTALL/lib64" ]; then echo "WARNING: renaming lib64 directory to lib" mv $PRODUCT_INSTALL/lib64 $PRODUCT_INSTALL/lib +elif [ -d "$PRODUCT_INSTALL/local/lib64" ]; then + echo "WARNING: renaming local/lib64 directory to lib" + mv $PRODUCT_INSTALL/local/lib64 $PRODUCT_INSTALL/lib + rm -rf $PRODUCT_INSTALL/local fi echo