Skip to content

Commit

Permalink
build: note on appimage ld path
Browse files Browse the repository at this point in the history
  • Loading branch information
hanatos committed Jan 11, 2024
1 parent 678c543 commit 054ccc5
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions bin/mkappimg.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,10 @@ cp vkdt.png AppDir/usr/share/icons/
cat > AppDir/AppRun << 'EOF'
#!/bin/bash
HERE=$(dirname $(realpath ${0}))
# this is necessary to make it run on some systems that don't ship for instance libjpeg.
# if we don't set the path it doesn't find *any* library (system or internal).
# on the other hand some systems have incompatible libc and will try to pick up the
# internal library and then fail completely.
export LD_LIBRARY_PATH=${HERE}/lib/x86_64-linux-gnu:${LD_LIBRARY_PATH}
${HERE}/usr/bin/vkdt $@
EOF
Expand Down

0 comments on commit 054ccc5

Please sign in to comment.