We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
起因:
编译icu库时需要链接 c++ 标准库
macOS clang 不支持 libstdc++
经过验证结论: 链接c++ 库 :macOS 下使用libc++; linux 下使用libstdc++
$link_cpp = $p->getOsType() == 'macos' ? '-lc++' : '-lstdc++';
参考信息看这里: https://www.zhihu.com/question/343205052
The text was updated successfully, but these errors were encountered:
No branches or pull requests
起因:
macOS clang 不支持 libstdc++
经过验证结论: 链接c++ 库 :macOS 下使用libc++; linux 下使用libstdc++
参考信息看这里: https://www.zhihu.com/question/343205052
The text was updated successfully, but these errors were encountered: