diff options
| author | ruki <[email protected]> | 2022-08-23 00:55:57 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2022-08-23 00:55:57 +0800 |
| commit | 910b11a87f0e6a3719609d8be0f77b6e8bd7e06b (patch) | |
| tree | 857de2b5611c8906328a600739beade7c2747e3c /xmake/rules/xcode/framework | |
| parent | 1a870edea963e755c2e0b6983f0c0c1395ad06e7 (diff) | |
improve rpath for framework
Diffstat (limited to 'xmake/rules/xcode/framework')
| -rw-r--r-- | xmake/rules/xcode/framework/xmake.lua | 2 |
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) |
