summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorruki <[email protected]>2024-07-17 22:55:38 +0800
committerruki <[email protected]>2024-07-17 22:55:38 +0800
commite1590a09bb6fb17bc25b35d871e9eaec8f894050 (patch)
tree802e14aeae436ebac53d2e595a2f70ef969f7c75 /tests
parent5f5164528ab628cbd688782b9057e898f9a27cfe (diff)
fix rpath
Diffstat (limited to 'tests')
-rw-r--r--tests/actions/install/xmake.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/actions/install/xmake.lua b/tests/actions/install/xmake.lua
index 84f567239..814ce51a5 100644
--- a/tests/actions/install/xmake.lua
+++ b/tests/actions/install/xmake.lua
@@ -11,12 +11,12 @@ target("foo")
add_headerfiles("src/foo.h", {public = true})
add_installfiles("src/foo.txt", {prefixdir = "assets", public = true})
set_prefixdir("/", {bindir = "foo_bin", libdir = "foo_lib"})
+ add_rpathdirs("@loader_path/../../foo_lib", {installonly = true, public = true})
target("app")
set_kind("binary")
add_deps("foo")
add_files("src/main.cpp")
- add_rpathdirs("@loader_path/../lib", {installonly = true})
set_prefixdir("app")
includes("@builtin/xpack")