Following up to b555b8d.
Building Blender with hidden symbols but using libraries with visible symbols
was giving linker warnings, specifically for USD. So revert that for now, as
it was not needed for the bugfix.
Hide USD symbols (some of which are not in the USD namespace) to avoid potential
conflicts. May potentially help with AMD OpenCL issues in T74262.
		
	
		
			
				
	
	
		
			80 lines
		
	
	
		
			1.0 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			80 lines
		
	
	
		
			1.0 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
 | 
						|
/* on Linux we exclude LLVM symbols, they conflict with Mesa llvmpipe
 | 
						|
 * we also keep boost's symbols local, since some python modules could
 | 
						|
 * be using boost as well (mainly that's for lux render)
 | 
						|
 */
 | 
						|
 | 
						|
{
 | 
						|
global:
 | 
						|
  *;
 | 
						|
  *_boost*;
 | 
						|
local:
 | 
						|
  al*;
 | 
						|
  *Alembic*;
 | 
						|
  av*;
 | 
						|
  blosc*;
 | 
						|
  *boost*;
 | 
						|
  *ceres*;
 | 
						|
  *cineon*;
 | 
						|
  *COLLADA*;
 | 
						|
  cu*;
 | 
						|
  decodeInstruction;
 | 
						|
  *default_error_condition*;
 | 
						|
  *dpx*;
 | 
						|
  *embree*;
 | 
						|
  ff_*;
 | 
						|
  fftw*;
 | 
						|
  FLAC*;
 | 
						|
  ForceStackAlign;
 | 
						|
  FT_*;
 | 
						|
  *GeneratedSaxParser*;
 | 
						|
  *google*;
 | 
						|
  gsm*;
 | 
						|
  Gsm*;
 | 
						|
  html*;
 | 
						|
  id3tag*;
 | 
						|
  *Iex*;
 | 
						|
  *Ilm*;
 | 
						|
  *Imath*;
 | 
						|
  *Imf*;
 | 
						|
  jack_*;
 | 
						|
  jpeg_*;
 | 
						|
  jsimd**;
 | 
						|
  _Jv_RegisterClasses;
 | 
						|
  lame_*;
 | 
						|
  *llvm*;
 | 
						|
  *LLVM*;
 | 
						|
  *MathML*;
 | 
						|
  *mkldnn*;
 | 
						|
  Name;
 | 
						|
  NumNamedVarArgParams;
 | 
						|
  oc_*;
 | 
						|
  ogg*;
 | 
						|
  *oidn*;
 | 
						|
  *OpenColorIO*;
 | 
						|
  *OpenImageIO*;
 | 
						|
  *OpenSubdiv*;
 | 
						|
  *openvdb*;
 | 
						|
  opj_*;
 | 
						|
  opus_*;
 | 
						|
  *OSL*;
 | 
						|
  *pathYy*;
 | 
						|
  png_*;
 | 
						|
  *SDL*;
 | 
						|
  *squish*;
 | 
						|
  *tbb*;
 | 
						|
  *textFileFormatYy*;
 | 
						|
  *TIFF*;
 | 
						|
  *tinyformat*;
 | 
						|
  *usdBlender*;
 | 
						|
  vorbis*;
 | 
						|
  vp8*;
 | 
						|
  vp9*;
 | 
						|
  vpx*;
 | 
						|
  x264_*;
 | 
						|
  X86CompilationCallback*;
 | 
						|
  xml*;
 | 
						|
  xvid*;
 | 
						|
  *YAML*;
 | 
						|
};
 |