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/modules | |
| parent | c01736b0d6c8677226d4a05dd6df018855514970 (diff) | |
improve package:kind
Diffstat (limited to 'xmake/modules')
| -rw-r--r-- | xmake/modules/private/xrepo/action/env.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/modules/private/xrepo/action/env.lua b/xmake/modules/private/xrepo/action/env.lua index 0759988de..90f8cd520 100644 --- a/xmake/modules/private/xrepo/action/env.lua +++ b/xmake/modules/private/xrepo/action/env.lua @@ -187,7 +187,7 @@ function _package_addenvs(envs, instance) end -- add library envs, e.g. ACLOCAL_PATH, PKG_CONFIG_PATH .. - if instance:kind() ~= "binary" then + if instance:is_library() then local pkgconfig = path.join(installdir, "lib", "pkgconfig") if os.isdir(pkgconfig) then _package_addenv(envs, "PKG_CONFIG_PATH", pkgconfig) |
