Blame view

library.post_install.inc.cmake.in 301 Bytes
772ec5a4   Peter M. Groen   Added cmake envir...
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
  # Update the dynamic linker runtime bindings.
  VAR1="/sbin/ldconfig"
  VAR2=`which ldconfig`
  
  if [ -e $VAR1 ]; then
      $VAR1
  elif [ ! -z $VAR2 ]; then
      $VAR2
  else
      VAR3=`find / -name ldconfig -type f`
      if [ -e $VAR3 ]; then
          $VAR3
      else
          echo "ldconfig not found!!!"
      fi
  fi