Changeset f24f00e


Ignore:
Timestamp:
11/05/13 16:18:14 (12 months ago)
Author:
Kris Moore <kris@…>
Branches:
master, 9.2-release, releng/10.0, releng/10.0.1, releng/10.0.2, releng/10.0.3, releng/10.1
Children:
287fef9
Parents:
999faef
Message:

Add a cludge to make sure that libGL.* libraries are available to
PBIs on 10.x

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src-sh/pbi-manager10/pbi-manager

    r99cd02c rf24f00e  
    47874787} 
    47884788 
     4789# This is a crude hack, but we need to copy libGL* to a location outside 
     4790# of /usr/local for PBIs to be able to access them 
     4791check_populate_opengl() 
     4792{ 
     4793  local lG 
     4794  for i in `ls /usr/local/lib/libGl.* /usr/local/lib/libGL.* /usr/local/lib/libGLU.* 2>/dev/null` 
     4795  do 
     4796    lG=`basename $i` 
     4797    cp ${i} /usr/lib/${lG} 
     4798  done 
     4799} 
     4800 
    47894801# Start the PBID daemon 
    47904802do_pbid() { 
     
    48054817        if [ "${PBI_VERBOSE}" != "YES" ] ; then _redir="/dev/null" ; fi 
    48064818        echo "Started pbid: `date`" > ${_pbid_log} 
     4819 
     4820        # Check for opengl libs to link 
     4821        check_populate_opengl 
    48074822 
    48084823        while 
Note: See TracChangeset for help on using the changeset viewer.