-
-
Notifications
You must be signed in to change notification settings - Fork 403
New issue
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
Auto-update libsigcplusplus to 3.6.0 #3078
Conversation
@waruqi 不知道为啥 mac arm64 失败,看起来是没找到 libstdc++ 之类的 |
@waruqi I don’t know why mac arm64 failed. It seems that libstdc++ was not found or something like that. |
似乎是 linker 用了 /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang 不是 clang++,所以没有自动 link 到 c++ 库。。可以尝试 patch 下,加上 -lc++ 或者暂时禁用 arm64/shared |
packages/l/libsigcplusplus/xmake.lua
Outdated
add_versions("3.4.0", "445d889079041b41b368ee3b923b7c71ae10a54da03bc746f2d0723e28ba2291") | ||
|
||
add_configs("deprecated_api", {description = "Build deprecated API and include it in the library", default = false, type = "boolean"}) | ||
if is_plat("wasm") then | ||
add_configs("shared", {description = "Build shared library.", default = false, type = "boolean", readonly = true}) | ||
end | ||
|
||
if is_plat("macosx") then | ||
add_syslinks("c++") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
是包自身构建缺 link,外面加这个没用,那个是对外导出 link
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
写错了。。
linux/mac + meson + clang+ shared 都会出现这个问题,这应该是 meson 的锅? |
This problem will occur in linux/mac + meson + clang+ shared. Is this the fault of meson? |
import("package.tools.meson").install(package, configs) | ||
end) | ||
|
||
on_test(function (package) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
on_test 为啥删了
New version of libsigcplusplus detected (package version: 3.4.0, last github version: 3.6.0)