From 910b11a87f0e6a3719609d8be0f77b6e8bd7e06b Mon Sep 17 00:00:00 2001 From: ruki Date: Tue, 23 Aug 2022 00:55:57 +0800 Subject: improve rpath for framework --- xmake/rules/xcode/framework/xmake.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'xmake/rules/xcode/framework/xmake.lua') 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) -- cgit v1.3.1