opengl: VirtualGL fixup filename test wasn't on basename

This commit is contained in:
Tyson Whitehead
2021-02-25 15:10:03 -05:00
parent c4382fa872
commit c8ef9c9b96

View File

@@ -247,7 +247,7 @@ VGL_autoAddVGL() {
echo "Inserting VirtualGL into OpenGL executables in $prefix..." >&2
for output in $outputs; do
VGL_findS "${!output}" -type f \
| VGL_testKeepS 'VGL_isElfBin "$1" && ! [[ "$1" == .*.vgl-* ]] && ! [[ "$1" == *.so* ]]' \
| VGL_testKeepS 'VGL_isElfBin "$1" && ! [[ ${1##*/} == .*.vgl-* ]] && ! [[ ${1##*/} == *.so* ]]' \
| VGL_testKeepS 'VGL_elfLibsResolvedS "$1" | VGL_isTestAnyS '"$(VGL_quote 'VGL_isLibGL "$1"')" \
| VGL_isTestAllS 'VGL_patch "$1"'
done