summaryrefslogtreecommitdiff
path: root/xmake/modules/package
diff options
context:
space:
mode:
authorruki <[email protected]>2022-05-28 00:19:01 +0800
committerruki <[email protected]>2022-05-28 00:19:01 +0800
commit2e6fb83447a0ff31c763a823b00ecd46dbe930c9 (patch)
tree47e10a8ae65fa5753bd168849abcc55745485f95 /xmake/modules/package
parent8fc4d25edd38fe9f3b469e328d7580408e814cde (diff)
improve pkgconfig
Diffstat (limited to 'xmake/modules/package')
-rw-r--r--xmake/modules/package/manager/pkgconfig/find_package.lua4
1 files changed, 4 insertions, 0 deletions
diff --git a/xmake/modules/package/manager/pkgconfig/find_package.lua b/xmake/modules/package/manager/pkgconfig/find_package.lua
index ddc7efeb4..543d8920e 100644
--- a/xmake/modules/package/manager/pkgconfig/find_package.lua
+++ b/xmake/modules/package/manager/pkgconfig/find_package.lua
@@ -57,6 +57,10 @@ function main(name, opt)
result.includedirs = libinfo.includedirs
result.linkdirs = libinfo.linkdirs
result.links = libinfo.links
+ result.defines = libinfo.defines
+ result.cxflags = libinfo.cxflags
+ result.ldflags = libinfo.ldflags
+ result.shflags = libinfo.shflags
result.version = libinfo.version
end
return result