Skip to content

Commit 336e5dc

Browse files
committed
Fix rpath setting in patchelf command for Linux build
1 parent 9fde3a5 commit 336e5dc

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

hatch_build.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,4 +48,4 @@ def initialize(self, version: str, build_data: dict[str, Any]) -> None:
4848
subprocess.run(["conan", "upload", "--confirm", "--list=pkglist.json", "--remote", "osp"], check=True)
4949

5050
if system_os == "Linux":
51-
subprocess.run(["patchelf", "--set-rpath", "'$ORIGIN'", "build/libcosimc/*"], shell=True, check=True)
51+
subprocess.run(["patchelf", "--set-rpath", "$ORIGIN", "build/libcosimc/*"], check=True)

0 commit comments

Comments
 (0)