Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add option WT_FORCE_BOOST_DYN_LINK #80

Closed
wants to merge 1 commit into from

Conversation

png85
Copy link
Contributor

@png85 png85 commented Oct 13, 2015

This commit adds a build option WT_FORCE_BOOST_DYN_LINK which enforces -DBOOST_ALL_DYN_LINK
being added to compiler flags. While it's technically possible to abuse variables like WT_CPP_MODE for this or set CXXFLAGS environment variables this is a slightly cleaner approach.

The reason for this is that with some combinations of Boost / Wt build options a program using both Wt and Boost.Log will crash when log sinks & related objects get destroyed since the're are conflicting symbols from static and dynamic variants of libbost_log_setup being mixed in the same binary.

This commit adds a build options "WT_FORCE_BOOST_DYN_LINK" which enforces -DBOOST_ALL_DYN_LINK
being added to compiler flags.
@emweb
Copy link
Collaborator

emweb commented Oct 5, 2017

Hi, do you know if this is this still an issue with Wt 4?

Regards,
Roel

@emweb emweb closed this Mar 29, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants