summaryrefslogtreecommitdiff
path: root/xmake/scripts/platform/windows/tools/lib.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2015-12-05 20:38:26 +0800
committerruki <[email protected]>2015-12-05 20:38:40 +0800
commitf77eb028a770969a3e87af41e41fe1e66b3b7842 (patch)
treebb9b7d8a63c26b4446fded0028bfcd10fdd67d71 /xmake/scripts/platform/windows/tools/lib.lua
parentb753c9e182813b395dd4910476ff4fb3c5e26fd9 (diff)
load config for the lua action
Diffstat (limited to 'xmake/scripts/platform/windows/tools/lib.lua')
-rw-r--r--xmake/scripts/platform/windows/tools/lib.lua6
1 files changed, 6 insertions, 0 deletions
diff --git a/xmake/scripts/platform/windows/tools/lib.lua b/xmake/scripts/platform/windows/tools/lib.lua
index 0e464f38c..ad83c9348 100644
--- a/xmake/scripts/platform/windows/tools/lib.lua
+++ b/xmake/scripts/platform/windows/tools/lib.lua
@@ -57,6 +57,12 @@ function lib.extract(self, ...)
return false
end
+ -- list object files
+ if not self:main(string.format("%s -list:%s", self.name, libfile)) then
+ utils.error("extract %s to %s failed!", libfile, objdir)
+ return false
+ end
+
print(libfile, objfile)
assert(false)