From 025720a6a4907b25c244c46cf8f55fa1c22b0795 Mon Sep 17 00:00:00 2001 From: ruki Date: Mon, 26 Aug 2019 23:22:02 +0800 Subject: fix pkg-config --- xmake/modules/lib/detect/pkg_config.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/xmake/modules/lib/detect/pkg_config.lua b/xmake/modules/lib/detect/pkg_config.lua index 990aaa4f6..4e766e313 100644 --- a/xmake/modules/lib/detect/pkg_config.lua +++ b/xmake/modules/lib/detect/pkg_config.lua @@ -141,6 +141,7 @@ function libinfo(name, opt) end -- get libs and cflags + local result = nil local flags = try { function () return os.iorunv(pkg_config, {"--libs", "--cflags", name}) end } if flags then -- cgit v1.3.1