miska/mosesdecoder — comment on commit 35e470e4589fb4f684b5c92866e98cd9a70126ec
File:  line 0
By kpu:

I do not believe this change is correct.

The purpose of the original code is to allow static builds using shared libraries where necessary. So it checks if a library will link statically and, if not, uses the shared version.

If you want to make shared linkage the default, that's a different argument and the proper place to make this change is in:

project : default-build
multi
on
on
release
static
;

But we chose to make static linkage the default for reason: people tend to copy the Moses binary around.