【发布时间】:2016-07-11 08:03:17
【问题描述】:
当我安装 LLVM 时,出现错误:
➜ build make
[ 0%] Linking CXX static library ../libLLVMSupport.a
libtool: unrecognized option `-static'
libtool: Try `libtool --help' for more information.
make[2]: *** [lib/libLLVMSupport.a] Error 1
make[1]: *** [lib/Support/CMakeFiles/LLVMSupport.dir/all] Error 2
make: *** [all] Error 2
➜ build which libtool
/usr/local/bin/libtool
我已经尝试解决这个问题,但失败了。
http://flummox-engineering.blogspot.com/2014/04/libtool-unrecognized-option-static.html
【问题讨论】: