[cmake-developers] HP-UX and static link flags for C shared libs
Brad King
brad.king at kitware.com
Mon Aug 10 13:24:35 EDT 2015
On 08/10/2015 01:21 PM, Chuck Atkins wrote:
> According to the compiler reference manual, -Wl,-a,default will search
> for shared first, then use static if the shared lib is not present.
> Changing this to -Wl,-a,shared will make the search use shared libraries
> exclusively, which is how all the other platforms work.
Yes. The old flag was probably used due to reference documentation
for ancient HP versions.
> It's outside the scope of this branch but should it be changed in a
> separate branch?
Yes, please. Make it a follow-up topic after the first one is done.
Thanks,
-Brad
More information about the cmake-developers
mailing list