diff options
author | redfish <redfish@galactica.pw> | 2016-07-26 01:06:12 +0000 |
---|---|---|
committer | redfish <redfish@galactica.pw> | 2016-07-26 02:20:16 +0000 |
commit | 3c92c2f09622df9bc4d5009d593677dc519047bc (patch) | |
tree | 8c3f56691bcf391c4023751b3333e8ef212de7b9 /README.md | |
parent | Merge pull request #927 (diff) | |
download | monero-3c92c2f09622df9bc4d5009d593677dc519047bc.tar.xz |
cmake: do not install hook on throw when building tests
This fixes build of tests with STATIC=ON, which failed with:
/tmp/cc8lNtqY.ltrans12.ltrans.o: In function
`boost::exception_detail::clone_impl<boost::exception_detail::error_info_injector<boost::thread_resource_error>
>::rethrow() const [clone .lto_priv.41]':
cc8lNtqY.ltrans12.o:(.text+0x4e): undefined reference to `__wrap___cxa_throw'
The hook is implemented in libcommon, which is not linked into some of the test
binaries. An alternative solution is to link all tests against libcommon,
but that seems worse because it introduces a false dependency (also,
I tried that and for some of the test binaries the linker still failed to
pick up the symol from libcommon, strangely.)
Diffstat (limited to 'README.md')
0 files changed, 0 insertions, 0 deletions