2a56317·Author: Roland Haas·Closed by: Roland Haas·2019-06-20
Description
Cactus: auto-detect --whole-archive linker flag
Cactus: detect if linker supports -filelist
this is used on Darwin instead of -Wl,--whole-archive
This adds autoconf tests for both --whole-archive and -listfiles variants to handle both Linux and OSX. I have tested it on both. It may fail if there is an architecture where both tests succeed since it will try and link in the same library twice.
Cactus: auto-detect --whole-archive linker flag
Cactus: detect if linker supports -filelist
this is used on Darwin instead of -Wl,--whole-archive
This adds autoconf tests for both
--whole-archive
and-listfiles
variants to handle both Linux and OSX. I have tested it on both. It may fail if there is an architecture where both tests succeed since it will try and link in the same library twice.This fixes ticket #456.