summaryrefslogtreecommitdiff
path: root/xmake/rules/xcode/framework/xmake.lua
diff options
context:
space:
mode:
Diffstat (limited to 'xmake/rules/xcode/framework/xmake.lua')
-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)