On some systems /sbin isn't in PATH, so explicitly refer to /sbin/ldconfig
This commit is contained in:
parent
d565252e3c
commit
70979a43a6
1 changed files with 1 additions and 1 deletions
|
@ -70,7 +70,7 @@ main()
|
||||||
printf '#!/bin/sh\n'
|
printf '#!/bin/sh\n'
|
||||||
printf 'export LOVE_LAUNCHER_LOCATION="$(dirname "$(which "$0")")"\n'
|
printf 'export LOVE_LAUNCHER_LOCATION="$(dirname "$(which "$0")")"\n'
|
||||||
printf 'export LD_LIBRARY_PATH="%s:$LD_LIBRARY_PATH"\n' "$libpath"
|
printf 'export LD_LIBRARY_PATH="%s:$LD_LIBRARY_PATH"\n' "$libpath"
|
||||||
printf 'ldconfig -p | grep -q libstdc++ || export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:${LOVE_LAUNCHER_LOCATION}/libstdc++/"\n'
|
printf '/sbin/ldconfig -p | grep -q libstdc++ || export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:${LOVE_LAUNCHER_LOCATION}/libstdc++/"\n'
|
||||||
printf 'exec ${LOVE_BIN_WRAPPER} "${LOVE_LAUNCHER_LOCATION}%s" "$@"\n' "$appbin"
|
printf 'exec ${LOVE_BIN_WRAPPER} "${LOVE_LAUNCHER_LOCATION}%s" "$@"\n' "$appbin"
|
||||||
) > "$DEST/$appname"
|
) > "$DEST/$appname"
|
||||||
chmod +x "$DEST/$appname"
|
chmod +x "$DEST/$appname"
|
||||||
|
|
Loading…
Reference in a new issue