Skip to content
Discussion options

You must be logged in to vote

目前这个主要用于 package 的 add_linkgroups 设置,不是在 on_fetch 里用的,只有走安装包时候,才会去处理 add_linkgroups。

on_fetch 里面返回 linkgroups ,尽管也可以,但是你格式不对,并且有一些 private ,不建议用户自己去返回,说不定以后格式会变。

{
  extras = {
    linkgroups = {
      pthread = {
        whole = true
      }
    }
  },
  linkgroups = {
    "pthread",
    __wrap_locked__ = true
  }
}

Replies: 6 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by Elite-stay
Comment options

You must be logged in to vote
1 reply
@waruqi
Comment options

Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants