HomePhabricator

build: fix broken boost chrono check on some platforms
460b32d7b1a2Unpublished

Unpublished Commit ยท Learn More

Repository Importing: This repository is still importing.

Description

build: fix broken boost chrono check on some platforms

If clock_gettime is implemented outside of libc (librt in this case), configure
would fail when testing boost. Since clock_gettime is not present on all OSs,
boost only uses it when it can. Check for it in librt and add it to LIBS if
found, but don't fail if it's not (since boost won't be expecting it in this
case).

Also, reverse the link order as necessary for static libs.

Note that it's possible that there are other similar cases for boost, which may
be handled the same way.

Details

Provenance
Cory Fields <cory-nospam-@coryfields.com>Authored on Jul 21 2014, 21:34
deadalnixPushed on May 14 2017, 22:04
Parents
rABCafa71fb3e37c: Harmonize importprivkey and importaddress documentation
Branches
Unknown
Tags
Unknown

Event Timeline

Cory Fields <cory-nospam-@coryfields.com> committed rABC460b32d7b1a2: build: fix broken boost chrono check on some platforms (authored by Cory Fields <cory-nospam-@coryfields.com>).Jul 22 2014, 13:21