libtool: syntax error near unexpected token `]*'

../libtool: line 543: syntax error near unexpected token `]*'
../libtool: line 543: `      *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \    ]*|*]*|"")'

​上面这个问题,一般是因为将ltmain.sh文件中的TAB替换成了空格造成的。
原文地址:https://www.cnblogs.com/aquester/p/9891735.html