From 5b971534fe30ea9edc673cbf348eaee7b0b49830 Mon Sep 17 00:00:00 2001 From: Nabil Ghodbane Date: Fri, 30 Sep 2022 14:18:35 +0200 Subject: [PATCH] Fix PyFMI compilation issue on Fedora 36 --- products/compil_scripts/PyFMI-2.6.sh | 4 ++++ 1 file changed, 4 insertions(+) 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 -- 2.39.2