]> SALOME platform Git repositories - tools/sat_salome.git/commitdiff
Salome HOME
Fix PyFMI compilation issue on Fedora 36
authorNabil Ghodbane <nabil.ghodbane@cea.fr>
Fri, 30 Sep 2022 12:18:35 +0000 (14:18 +0200)
committerNabil Ghodbane <nabil.ghodbane@cea.fr>
Fri, 30 Sep 2022 12:18:35 +0000 (14:18 +0200)
products/compil_scripts/PyFMI-2.6.sh

index 152546c98ca699ce9c6e0326df6d018d6fd7c11e..8f8faffa373d4b9dcd63f49755a45c6cd15a45ef 100755 (executable)
@@ -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