Skip to content

Commit 14fb1a2

Browse files
authored
Fix rpath in linux build
1 parent a1c36a7 commit 14fb1a2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/linux/openocd/build-openocd.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,4 +20,4 @@ if [[ $(uname -m) == 'aarch64' ]]; then
2020
cp $(ldd openocd | egrep -o "(/.*/libgpiod\.so\.\S*)") ./
2121
fi
2222
cp $(ldd openocd | egrep -o "(/.*/libjim\.so\.\S*)") ./
23-
patchelf --set-rpath . openocd
23+
patchelf --set-rpath '$ORIGIN' openocd

0 commit comments

Comments
 (0)