请问有什么办法能使config添加deps到一个包 #2564
Replies: 3 comments 4 replies
-
这里依赖已经加了 |
Beta Was this translation helpful? Give feedback.
-
不是,add_requires 是不决定依赖顺序的,你不管放哪,两个 add_requires 都是平级独立的,仅仅只是告诉用户安装哪些包。。 安装的依赖顺序,是 package 定义的 add_deps 控制的。如果加了 |
Beta Was this translation helpful? Give feedback.
-
也就是说,你仅仅只需要配置 |
Beta Was this translation helpful? Give feedback.
-
xmake-repo/packages/m/mariadb-connector-c/xmake.lua
Line 26 in d951fbd
xmake-repo/packages/m/mariadb-connector-c/xmake.lua
Line 47 in d951fbd
由于这个依赖是后置加载的,导致安装的时候check snippet过不了,必须要保证编译机提前安装过openssl
Beta Was this translation helpful? Give feedback.
All reactions