Skip to content
  • Dan Nicholson's avatar
    osmesa: always build standalone for internal symbols · cbf30fce
    Dan Nicholson authored
    
    
    When building OSMesa and xlib GL, the resulting OSMesa would be linked
    against libGL instead of the internal mesa libraries. However, when
    building with -fvisibility=hidden, some of the internal functions used
    in OSMesa could not be resolved through libGL.
    
    Instead, always build OSMesa standalone without linking against libGL.
    This has the advantage that OSMesa is always built the same way, but it
    means that disk space is wasted when libGL is installed since both
    libraries will contain the internal objects.
    
    Signed-off-by: default avatarDan Nicholson <dbn.lists@gmail.com>
    Tested-by: default avatarTom Fogal <tfogal@alumni.unh.edu>
    cbf30fce