Skip to content
This repository was archived by the owner on Jul 10, 2024. It is now read-only.

Commit af70439

Browse files
authored
Merge pull request #1 from flathub/quadmath-fix
gfortran: libquadmath is not available everywhere
2 parents abcae5f + f70bad0 commit af70439

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

org.freedesktop.Sdk.Extension.gfortran-62.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,8 @@
7777
"type": "script",
7878
"commands": [
7979
"mkdir -p /app/lib",
80-
"cp -P /usr/lib/sdk/gfortran-62/lib/libquadmath.so* /usr/lib/sdk/gfortran-62/lib/libgfortran.so* /app/lib/"
80+
"if [ -e /usr/lib/sdk/gfortran-62/lib/libquadmath.so ]; then cp -P /usr/lib/sdk/gfortran-62/lib/libquadmath.so* /app/lib; fi",
81+
"cp -P /usr/lib/sdk/gfortran-62/lib/libgfortran.so* /app/lib/"
8182
],
8283
"dest-filename": "install.sh"
8384
},

0 commit comments

Comments
 (0)