Logo white

open_source / cmake

Sign in
  • Sign in
  • Project
  • Files
  • Commits
  • Network
  • Graphs
  • Milestones
  • Issues 0
  • Merge Requests 0
  • Labels
  • Wiki
  • cmake
  • library.post_install.inc.cmake.in
  • Added cmake environment
    772ec5a4
    Peter M. Groen authored
    2022-01-24 22:43:13 +0100  
    Browse Code ยป
library.post_install.inc.cmake.in 301 Bytes
Edit Raw Blame History Permalink
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