diff options
author | Cory Fields <cory-nospam-@coryfields.com> | 2014-07-21 17:34:08 -0400 |
---|---|---|
committer | Cory Fields <cory-nospam-@coryfields.com> | 2014-07-22 09:21:09 -0400 |
commit | 460b32d7b1a2014dd490b15a360d062847f8efe9 (patch) | |
tree | 617dbfe1bc59d615266e1d06ba61bfc47dd74ac1 /src/leveldbwrapper.h | |
parent | afa71fb3e37c729fa18ab161e0f3c930976e26e2 (diff) |
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.
Diffstat (limited to 'src/leveldbwrapper.h')
0 files changed, 0 insertions, 0 deletions