From: Peter Dimov (pdimov_at_[hidden])
Date: 2024-04-29 08:15:53


Alexander Grund wrote:
> > Note how in both these cases autolink exposes a problem with
> > BOOST_ALL_DYN_LINK not being defined, even though the user is trying
> > to use a Boost .dll.

> One reason against autolink: It decides the use of static vs dynamic libraries
> depending on a preprocessor define, good luck getting that right in a portable
> way...

The preprocessor define is necessary for things to work, so autolink is correct
to decide based on it.