Changeset 110 in flair-dev for tags


Ignore:
Timestamp:
Feb 4, 2020, 1:42:14 PM (5 years ago)
Author:
Sanahuja Guillaume
Message:

update for newer libgl

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tags/latest/scripts/distribution_specific_hack.sh

    r70 r110  
    2727      DRIVER=$(cat /sys/dev/char/$((16#$DRI_CARD_MAJOR)):$((16#$DRI_CARD_MINOR))/device/uevent | grep DRIVER | cut -d= -f2)
    2828      echo "Mesa DRI driver is $DRIVER"
    29       DRIVER_LIB=$(LIBGL_DEBUG=verbose glxinfo 2>&1 | grep OpenDriver | tail -n 1 | sed -e "s/.* \(.*\)/\1/")
     29          DRIVER_LIB=$(LIBGL_DEBUG=verbose glxinfo 2>&1 | grep "\.so" | tail -n 1 | grep -o '/.*\.so')
    3030      #get the highest required version of CXXABI
    3131      CXXABI_REQUIRED=$(objdump -T $DRIVER_LIB | grep CXXABI | sed -e 's/.*CXXABI_\(.*\) .*/\1/' | sort -uV | tail -1)
Note: See TracChangeset for help on using the changeset viewer.