fix darwin link error for release builds

This commit is contained in:
Arvid Norberg 2013-09-04 01:16:13 +00:00
parent bbbd84ef32
commit 8bb2c46f42
1 changed files with 5 additions and 1 deletions

View File

@ -276,7 +276,11 @@ rule building ( properties * )
# appears to have some types not fully exported)
result += <cflags>-fvisibility=hidden ;
result += <cxxflags>-fvisibility-inlines-hidden ;
result += <linkflags>-Wl,-Bsymbolic ;
if ( <toolset>gcc in $(properties) )
{
result += <linkflags>-Wl,-Bsymbolic ;
}
}
return $(result) ;