diff options
| author | Carl Hetherington <cth@carlh.net> | 2020-02-05 01:22:19 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2020-02-05 01:22:19 +0100 |
| commit | 4ac6ff999413ea65c7ab7f73d6011b6a8b4b3cff (patch) | |
| tree | 8acace02434dd360f5f252b619e5ef0476e239ea /wscript | |
| parent | d8f406953e431242fd6f0ecc3f13549bd0b781f1 (diff) | |
Try to fix backtrace link on Windows.
Diffstat (limited to 'wscript')
| -rw-r--r-- | wscript | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -181,6 +181,14 @@ def configure(conf): libpath='/usr/local/lib', lib=['boost_locale%s' % boost_lib_suffix, 'boost_system%s' % boost_lib_suffix], uselib_store='BOOST_LOCALE') + conf.check_cxx(fragment=""" + #include <boost/stacktrace.hpp>\n + int main() { }\n + """, + msg='Checking for boost stacktrace library', + libpath='/usr/local/lib', + lib=['boost_stacktrace%s' % boost_lib_suffix, + uselib_store='BOOST_STACKTRACE') conf.env.append_value('CXXFLAGS', ['-DBOOST_STACKTRACE_LINK', '-DBOOST_STACKTRACE_USE_BACKTRACE']) conf.check(lib='dl', uselib_store='DL', msg="Checking for library dl") conf.check(lib='backtrace', uselib_store='BACKTRACE', msg="Checking for library backtrace") |
