Skip to content
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

fix: syslink missing on linux in webui. #6329

Merged
merged 4 commits into from
Feb 11, 2025
Merged

fix: syslink missing on linux in webui. #6329

merged 4 commits into from
Feb 11, 2025

Conversation

SuniRein
Copy link
Contributor

WebUI 在 Linux 上需要链接 pthread 和 libdl,这些在高版本 gcc 上会自动链接,但在低版本 gcc(<=8) 上需要手动链接。

@SuniRein
Copy link
Contributor Author

没通过的 Check 貌似与提交的修改没啥关系。

@Issues-translate-bot
Copy link

Bot detected the issue body's language is not English, translate it automatically.


The failed Check seems to have nothing to do with the submitted modifications.


if on_check then
on_check("mingw", function (package)
assert(package:is_arch("x86_64"), "package(webui/mingw) only suport x86_64 arch")
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

就限制一个 arch ,直接 on_install 里面 mingw|x86_64 限制就行了,没必要加 on_check

@waruqi waruqi merged commit a7e1f1c into xmake-io:dev Feb 11, 2025
71 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants