diff options
| -rw-r--r-- | xmake/modules/target/action/install/pkgconfig_importfiles.lua | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/xmake/modules/target/action/install/pkgconfig_importfiles.lua b/xmake/modules/target/action/install/pkgconfig_importfiles.lua index 979feaee2..65da32085 100644 --- a/xmake/modules/target/action/install/pkgconfig_importfiles.lua +++ b/xmake/modules/target/action/install/pkgconfig_importfiles.lua @@ -52,6 +52,7 @@ function main(target, opt) libs = libs .. " -l" .. link end end + libs = libs:trim() -- get cflags local cflags = "" @@ -61,6 +62,7 @@ function main(target, opt) end end cflags = cflags .. " -I${includedir}" + cflags = cflags:trim() -- trace vprint("generating %s ..", pcfile) |
