Open 19317362 opened 1 week ago
After comment the on_test function of the package yw_osal, it worked on linux and linux-arm-cross.
So, I think for this issue, the following things related.
-- on_test(function (package)
-- assert(package:check_cxxsnippets({test = [[
-- #include <cstring>
-- #include <vector>
-- #include <yw_osal/x_str_util.h>
-- static void test() {
-- std::vector<std::string> v;
-- std::string str{"the quick brown fox jumps over the lazy dog"};
-- ::yw::osal::x_str_util::split_param( str, ' ', v);
-- }
-- ]]}, {configs = {}}))
-- end)
等后面有时间吧,暂时没空看这个,自己的包,可以先按你现在的方式搞。
Bot detected the issue body's language is not English, translate it automatically.
Wait until you have time later. I don’t have time to read this at the moment. For your own package, you can do it the way you are doing now.
Xmake 版本
2.9.2
操作系统版本和架构
ubuntu 22.04
描述问题
The same as Issue 4697
myapp => my yw_osal.so => my yw_log.so After added the code according issue 4697, it still gave me an error.
期待的结果
Can work like android and win.
工程配置
附加信息和错误日志
the log of xmake f -vyD
I've inspected the file yw_osal.pc .
How to add link info to yw_osal.pc or just disable the checking?