diff options
| author | ruki <[email protected]> | 2021-02-03 22:18:43 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2021-02-03 22:18:43 +0800 |
| commit | 6933bd53b195c8e95fb18b1af40f623ab76dee54 (patch) | |
| tree | a5bd88466b26b6b682a4080a84f90d51de3acc22 /xmake/actions/require/impl/package.lua | |
| parent | c01736b0d6c8677226d4a05dd6df018855514970 (diff) | |
improve package:kind
Diffstat (limited to 'xmake/actions/require/impl/package.lua')
| -rw-r--r-- | xmake/actions/require/impl/package.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/actions/require/impl/package.lua b/xmake/actions/require/impl/package.lua index 281bbaef3..669e0aecc 100644 --- a/xmake/actions/require/impl/package.lua +++ b/xmake/actions/require/impl/package.lua @@ -502,7 +502,7 @@ function _load_package(packagename, requireinfo, opt) _merge_requireinfo(requireinfo, opt.requirepath) -- inherit some builtin configs of parent package, e.g. vs_runtime, pic - if opt.parentinfo and package:kind() ~= "binary" then + if opt.parentinfo and package:is_library() then _inherit_parent_configs(requireinfo, opt.parentinfo) end |
