mirror of
https://github.com/blender/blender
synced 2026-09-29 04:37:17 +03:00
OSX/scons: Fix linking if llvm is not used ( new osl/llvm/oiio related )
This commit is contained in:
parent
564c48a068
commit
a9c8a117a2
1 changed files with 4 additions and 0 deletions
|
|
@ -438,6 +438,10 @@ if env['OURPLATFORM']=='darwin':
|
|||
env.Append(LINKFLAGS=['-L'+OSX_OSL_LIBPATH,'-loslcomp','-force_load '+ OSX_OSL_LIBPATH +'/liboslexec.a','-loslquery'])
|
||||
env.Append(BF_PROGRAM_LINKFLAGS=['-Xlinker','-force_load','-Xlinker',OSX_OSL_LIBPATH +'/liboslexec.a'])
|
||||
|
||||
if env['WITH_BF_LLVM'] == 0:
|
||||
# Due duplicated generic UTF functions, we pull them either from LLVMSupport or COLLADA
|
||||
env.Append(BF_OPENCOLLADA_LIB=' UTF')
|
||||
|
||||
# Trying to get rid of eventually clashes, we export some symbols explicite as local
|
||||
env.Append(LINKFLAGS=['-Xlinker','-unexported_symbols_list','-Xlinker','./source/creator/osx_locals.map'])
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue