opengl: Accidental double suffix on VirtualGL preload lib

This commit is contained in:
Tyson Whitehead
2019-06-06 11:55:10 -04:00
parent d1e33d2509
commit 2f169a049e

View File

@@ -213,7 +213,7 @@ VGL_patch() {
# VGL version may need fixing up to ensure libglfaker.so gets loaded at the start
printf 'Wrapping and patching for VirtualGL: %q\n' "$file" >&2
cp -a "$file" "${file%/*}/.${file##*/}.vgl-yes"
VGL_elfFilterLibsS "${file%/*}/.${file##*/}.vgl-yes" 'VGL_testSuffixNoneS '"$(VGL_quote '[[ $1 =~ ^(.*/)?libvglfaker.so ]]')"' @virtualglLib@/lib/libvglfaker.so'
VGL_elfFilterLibsS "${file%/*}/.${file##*/}.vgl-yes" 'VGL_testSuffixNoneS '"$(VGL_quote '[[ $1 =~ ^(.*/)?libvglfaker.so ]]')"' @virtualglLib@'
# Non-VGL is fine as we link it against mesa_glxgallium
mv "$file" "${file%/*}/.${file##*/}.vgl-no"