diff options
Diffstat (limited to 'xmake/core/package/package.lua')
| -rw-r--r-- | xmake/core/package/package.lua | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/xmake/core/package/package.lua b/xmake/core/package/package.lua index fd1dce8ae..ed6042518 100644 --- a/xmake/core/package/package.lua +++ b/xmake/core/package/package.lua @@ -411,8 +411,12 @@ function _instance:plaindeps() end -- get library deps with correct link order -function _instance:librarydeps() - return self._LIBRARYDEPS +function _instance:librarydeps(opt) + if opt and opt.private then + return self._LIBRARYDEPS_WITH_PRIVATE + else + return self._LIBRARYDEPS + end end -- get parents |
