fix darwin link error for release builds
This commit is contained in:
parent
bbbd84ef32
commit
8bb2c46f42
6
Jamfile
6
Jamfile
|
@ -276,7 +276,11 @@ rule building ( properties * )
|
||||||
# appears to have some types not fully exported)
|
# appears to have some types not fully exported)
|
||||||
result += <cflags>-fvisibility=hidden ;
|
result += <cflags>-fvisibility=hidden ;
|
||||||
result += <cxxflags>-fvisibility-inlines-hidden ;
|
result += <cxxflags>-fvisibility-inlines-hidden ;
|
||||||
result += <linkflags>-Wl,-Bsymbolic ;
|
|
||||||
|
if ( <toolset>gcc in $(properties) )
|
||||||
|
{
|
||||||
|
result += <linkflags>-Wl,-Bsymbolic ;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
return $(result) ;
|
return $(result) ;
|
||||||
|
|
Loading…
Reference in New Issue