opengl: Accidentally left debug dumps in
This commit is contained in:
@@ -177,8 +177,8 @@ VGL_elfFilterRPathS() {
|
||||
eval "declare pathsNew=($(VGL_sourceS "${pathsOld[@]}" | eval "$command"))"
|
||||
[[ ${pathsNew[@]@Q} = ${pathsOld[@]@Q} ]] \
|
||||
|| if (( ${#pathsNew[@]} > 0 ));
|
||||
then ( IFS=:; set -x; patchelf --set-rpath "${pathsNew[*]}" "$file" )
|
||||
else ( set -x; patchelf --remove-rpath "$file" )
|
||||
then ( IFS=:; patchelf --set-rpath "${pathsNew[*]}" "$file" )
|
||||
else ( patchelf --remove-rpath "$file" )
|
||||
fi
|
||||
}
|
||||
|
||||
@@ -190,10 +190,10 @@ VGL_elfFilterLibsS() {
|
||||
eval "declare libsNew=($(VGL_sourceS "${libsOld[@]}" | eval "$command"))"
|
||||
eval "declare libs=($(VGL_sourceS "${libsOld[@]}" | VGL_valuesRemoveS "${libsNew[@]}"))"
|
||||
(( ${#libs[@]} < 1 )) \
|
||||
|| ( eval "set -x; patchelf$(printf ' --remove-needed %q' "${libs[@]}") ${file@Q}")
|
||||
|| ( eval "patchelf$(printf ' --remove-needed %q' "${libs[@]}") ${file@Q}")
|
||||
eval "declare libs=($(VGL_sourceS "${libsNew[@]}" | VGL_valuesRemoveS "${libsOld[@]}"))"
|
||||
(( ${#libs[@]} < 1 )) \
|
||||
|| ( eval "set -x; patchelf$(printf ' --add-needed %q' "${libs[@]}") ${file@Q}")
|
||||
|| ( eval "patchelf$(printf ' --add-needed %q' "${libs[@]}") ${file@Q}")
|
||||
}
|
||||
|
||||
# Patch elf file to be able to use OpenGL properly (not a stream function so can be called in normal way)
|
||||
@@ -251,7 +251,6 @@ VGL_autoAddVGL() {
|
||||
set +o pipefail
|
||||
|
||||
echo "Inserting VirtualGL into OpenGL executables in $prefix..." >&2
|
||||
set -x
|
||||
for output in $outputs; do
|
||||
VGL_findS "${!output}" -type f \
|
||||
| VGL_testKeepS 'VGL_isElfBin "$1"' \
|
||||
|
||||
Reference in New Issue
Block a user