diff options
| author | ruki <[email protected]> | 2022-09-01 00:31:45 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2022-09-01 00:31:45 +0800 |
| commit | 7cd426fe5f2afc2d785aff4c03c1d55519c2684a (patch) | |
| tree | 4ee0c74dd8c01d8c86a4803c373c96642b645ab0 /xmake/rules/xcode/application | |
| parent | cfb302ba06a479ffddcf28e8acf727bea5d638fa (diff) | |
fix build iosapp
Diffstat (limited to 'xmake/rules/xcode/application')
| -rw-r--r-- | xmake/rules/xcode/application/build.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/rules/xcode/application/build.lua b/xmake/rules/xcode/application/build.lua index fba9f319f..49e5a966a 100644 --- a/xmake/rules/xcode/application/build.lua +++ b/xmake/rules/xcode/application/build.lua @@ -50,7 +50,7 @@ function main (target, opt) -- change rpath -- @see https://github.com/xmake-io/xmake/issues/2679#issuecomment-1221839215 local targetfile = path.join(binarydir, path.filename(target:targetfile())) - os.vrunv("install_name_tool", {"-delete_rpath", "@loader_path", targetfile}) + try { function () os.vrunv("install_name_tool", {"-delete_rpath", "@loader_path", targetfile}) end } os.vrunv("install_name_tool", {"-add_rpath", "@executable_path/../Frameworks", targetfile}) -- copy dependent dynamic libraries and frameworks |
