mirror of https://github.com/vitalif/openscad
speed up gmp search
parent
4b45893575
commit
a40d9c9150
|
@ -145,7 +145,7 @@ mpfr_sysver()
|
|||
|
||||
gmp_sysver()
|
||||
{
|
||||
gmppaths="`find $1 -name 'gmp.h' -o -name 'gmp-*.h' 2>/dev/null`"
|
||||
gmppaths="`find $1/include -name 'gmp.h' -o -name 'gmp-*.h' 2>/dev/null`"
|
||||
if [ ! "$gmppaths" ]; then
|
||||
debug "gmp_sysver no gmp.h beneath $1"
|
||||
return
|
||||
|
|
Loading…
Reference in New Issue