Skip to content

Commit 1e8dfd1

Browse files
committed
fix fortran scipy compilation
1 parent dd6d75d commit 1e8dfd1

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

scripts/emsdk-fetch.sh

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,11 @@ for arg do
115115
exit 0
116116
fi
117117
118+
if [ "\$arg" = "-fallow-argument-mismatch" ]
119+
then
120+
continue
121+
fi
122+
118123
# that is for some very bad setup.py behaviour regarding cross compiling. should not be needed ..
119124
[ "\$arg" = "-I/usr/include" ] && continue
120125
[ "\$arg" = "-I/usr/include/SDL2" ] && continue
@@ -151,7 +156,7 @@ for arg do
151156
else
152157
if \$IS_SHARED
153158
then
154-
if echo "\$arg"|grep -q -F .so
159+
if echo "\$arg"|grep \\\\.so\$
155160
then
156161
PY_MODULE=true
157162
SHARED_TARGET=\$arg

0 commit comments

Comments
 (0)