Skip to content

Commit 87a5295

Browse files
committed
Fix tarball build script
1 parent 609b2dc commit 87a5295

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

pg_tarballs/pg_tarballs_builder.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1939,7 +1939,7 @@ set_rpath(){
19391939
# Check if the file is an ELF executable or shared library
19401940
if [ -f "$binary" ] && file "$binary" | grep -q "ELF"; then
19411941
echo "Changing RPATH for $binary..."
1942-
patchelf --set-rpath "$new_rpath" "$binary"
1942+
patchelf --set-rpath "$new_rpath" "$binary" || echo "Warning: patchelf failed for $binary, skipping"
19431943
echo "------------------------"
19441944
fi
19451945
done

0 commit comments

Comments
 (0)