libtool: error: unrecognised option: '--static'

  • 解决办法
    1
    export PATH=/Library/Developer/CommandLineTools/usr/bin:$PATH