summaryrefslogtreecommitdiff
path: root/xmake/rules/xcode/framework/xmake.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2022-08-23 22:33:47 +0800
committerruki <[email protected]>2022-08-23 22:33:47 +0800
commitcc0dfe3d9eca8e11bb6c555c36edf3117d80559a (patch)
tree3a0bd0c9f04fe61db9927c2dc1bec0cc7bc3c06b /xmake/rules/xcode/framework/xmake.lua
parent3e51aca6b415fdec57c23b1ad430e29a7c1864a5 (diff)
fix load framework
Diffstat (limited to 'xmake/rules/xcode/framework/xmake.lua')
-rw-r--r--xmake/rules/xcode/framework/xmake.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/xmake/rules/xcode/framework/xmake.lua b/xmake/rules/xcode/framework/xmake.lua
index 1dde3eec6..520ccf1b8 100644
--- a/xmake/rules/xcode/framework/xmake.lua
+++ b/xmake/rules/xcode/framework/xmake.lua
@@ -106,6 +106,7 @@ rule("xcode.framework")
os.vcp(target:targetfile(), contentsdir)
-- change rpath
+ -- @see https://github.com/xmake-io/xmake/issues/2679#issuecomment-1221839215
local filename = path.filename(target:targetfile())
local targetfile = path.join(contentsdir, filename)
local rpath = path.relative(contentsdir, path.directory(bundledir))