diff options
| author | ruki <[email protected]> | 2015-12-05 20:38:26 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2015-12-05 20:38:40 +0800 |
| commit | f77eb028a770969a3e87af41e41fe1e66b3b7842 (patch) | |
| tree | bb9b7d8a63c26b4446fded0028bfcd10fdd67d71 /xmake/scripts/platform/windows/tools/lib.lua | |
| parent | b753c9e182813b395dd4910476ff4fb3c5e26fd9 (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.lua | 6 |
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) |
