diff options
| author | ruki <[email protected]> | 2018-11-09 22:42:45 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2018-11-09 10:16:35 +0800 |
| commit | 95b1cd6ba1368030c0577b26fb3ff67c497d4c70 (patch) | |
| tree | 7fd58ec0ab4a377190d7642c7894749fca429414 | |
| parent | 351e077a0abbbb5b1d5142bf66411fef03cc3bb2 (diff) | |
add syslink to pkgconfig file
| -rw-r--r-- | xmake/actions/require/impl/action/prefix/install.lua | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/xmake/actions/require/impl/action/prefix/install.lua b/xmake/actions/require/impl/action/prefix/install.lua index 493054d2d..f571eaaeb 100644 --- a/xmake/actions/require/impl/action/prefix/install.lua +++ b/xmake/actions/require/impl/action/prefix/install.lua @@ -230,6 +230,9 @@ function _patch_pkgconfig(package) end end end + for _, link in ipairs(package:getvar("syslinks")) do + libs = libs .. " -l" .. link + end -- cflags local cflags = "" |
