Rhaas/duplicate symbols

Merged
#56 · Created  · Last updated

Merged pull request

Cactus: detect if linker supports -filelist

2a56317·Author: ·Closed by: ·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.

This fixes ticket #456.

0 attachments

0 comments

Loading commits...