2
0
mirror of https://github.com/boostorg/build.git synced 2026-02-15 13:02:11 +00:00

Don't pass -s on Darwin.

[SVN r33998]
This commit is contained in:
Vladimir Prus
2006-05-18 10:37:52 +00:00
parent 3f2f2d6399
commit 7cb8b443ec

View File

@@ -333,11 +333,10 @@ rule init-link-flags ( toolset linker condition )
}
case darwin :
{
# we can't pass -s to ld unless we also pass -static
# so we removed -s completly from OPTIONS and add it
# to ST_OPTIONS
flags $(toolset).link ST_OPTIONS $(condition)/<debug-symbols>off : -s
: unchecked ;
# On Darwin, the -s option to ld does not work unless we pass
# -static, and passing -static unconditionally is a bad idea.
# So, don't pass -s at all, darwin.jam will use separate 'strip'
# invocation.
flags $(toolset).link RPATH $(condition) : <dll-path> : unchecked ;
flags $(toolset).link RPATH_LINK $(condition) : <xdll-path> : unchecked ;
}