--as-needed should be the default. I have been saying for years that the behavior now defined as --no-as-needed is buggy, being inconsistent with static libraries. zw