[cmake-developers] [Review Request][3.1-rc1 regression] topic fix_link-line-dedup_regression
Daniele E. Domenichelli
daniele.domenichelli at gmail.com
Sun Nov 9 12:05:22 EST 2014
Hello,
Please review topic fix_link-line-dedup_regression:
Fix regression in link order introduced by the link-line-dedup topic
Some compilers will fail linking if an executable is linking to a
library that is not used and a static library that uses the shared one.
This patch reverse the direction of the for loop that removes the
duplicate shared libraries, in order to ensure that the last occurrence
of the library is left instead of the first one.
Also adds one unit test to show the issue.
Cheers,
Daniele
More information about the cmake-developers
mailing list