summaryrefslogtreecommitdiff
path: root/xmake/rules/xcode/framework
diff options
context:
space:
mode:
authorruki <[email protected]>2022-08-23 00:55:57 +0800
committerruki <[email protected]>2022-08-23 00:55:57 +0800
commit910b11a87f0e6a3719609d8be0f77b6e8bd7e06b (patch)
tree857de2b5611c8906328a600739beade7c2747e3c /xmake/rules/xcode/framework
parent1a870edea963e755c2e0b6983f0c0c1395ad06e7 (diff)
improve rpath for framework
Diffstat (limited to 'xmake/rules/xcode/framework')
-rw-r--r--xmake/rules/xcode/framework/xmake.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/rules/xcode/framework/xmake.lua b/xmake/rules/xcode/framework/xmake.lua
index 438cbe00d..1dde3eec6 100644
--- a/xmake/rules/xcode/framework/xmake.lua
+++ b/xmake/rules/xcode/framework/xmake.lua
@@ -109,7 +109,7 @@ rule("xcode.framework")
local filename = path.filename(target:targetfile())
local targetfile = path.join(contentsdir, filename)
local rpath = path.relative(contentsdir, path.directory(bundledir))
- os.vrunv("install_name_tool", {"-id", path.join("@rpath", rpath), targetfile})
+ os.vrunv("install_name_tool", {"-id", path.join("@rpath", rpath, filename), targetfile})
-- move header files
os.tryrm(headersdir)