diff options
| author | ruki <[email protected]> | 2020-05-26 00:18:35 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2020-05-25 19:51:33 +0800 |
| commit | 364d1242536594a954841ed2246ca1c447e9d0b2 (patch) | |
| tree | 9288f6f0b5a5a2200c42621af814b856642ddb03 /xmake/modules/private/tools/codesign.lua | |
| parent | 6707844c34b10b2cbb7844838c886e9aa315f415 (diff) | |
copy dynamic libraries for xcode app
Diffstat (limited to 'xmake/modules/private/tools/codesign.lua')
| -rw-r--r-- | xmake/modules/private/tools/codesign.lua | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/xmake/modules/private/tools/codesign.lua b/xmake/modules/private/tools/codesign.lua index 73e7b918d..887e798dd 100644 --- a/xmake/modules/private/tools/codesign.lua +++ b/xmake/modules/private/tools/codesign.lua @@ -121,9 +121,10 @@ function unsign(programdir) end -- main entry -function main (programdir, codesign_identity, mobile_provision) +function main (programdir, codesign_identity, mobile_provision, opt) -- only for macosx + opt = opt or {} assert(is_host("macosx"), "codesign: only support for macOS!") -- get codesign @@ -172,6 +173,9 @@ function main (programdir, codesign_identity, mobile_provision) -- do sign local argv = {"--force", "--timestamp=none"} + if opt.deep then + table.insert(argv, "--deep") + end table.insert(argv, "--sign") table.insert(argv, sign) if entitlements then |
