HomePhabricator

build: fix link error on some platforms. Fixes #5235
f618577029b0Unpublished

Unpublished Commit ยท Learn More

Repository Importing: This repository is still importing.

Description

build: fix link error on some platforms. Fixes #5235

Some users may have libtool libs (.la) installed in their linker search paths.
In this case, using -static-libtool-libs would try to link in .a's instead of
shared libs. That would be harmless unless the .a was built in a way that
would break linking, like non-fpic.

What we really want is "-static" here. Despite its name, it's actually less
aggressive than -static-libtool-libs. It causes only internal libs to be linked
statically (libbitcoinconsensus is the one were'a after).

Details

Provenance
Cory Fields <cory-nospam-@coryfields.com>Authored on Nov 20 2014, 18:40
deadalnixPushed on May 14 2017, 22:04
Parents
rABC5c4dffd188bf: Merge pull request #5270
Branches
Unknown
Tags
Unknown

Event Timeline

Cory Fields <cory-nospam-@coryfields.com> committed rABCf618577029b0: build: fix link error on some platforms. Fixes #5235 (authored by Cory Fields <cory-nospam-@coryfields.com>).Nov 20 2014, 18:45