]> git.donarmstrong.com Git - samtools.git/commit
System libraries go *after* user libraries in link commands, because
authorOn behalf of John Marshall <lh3@sanger.ac.uk>
Tue, 28 Dec 2010 13:06:49 +0000 (13:06 +0000)
committerOn behalf of John Marshall <lh3@sanger.ac.uk>
Tue, 28 Dec 2010 13:06:49 +0000 (13:06 +0000)
commitceff94a59e7ae16948c2d175c8b165c9889d61df
treecd2186d12cbb4b5d26566c5cf150af0a910a2e4a
parentf0b7a686f0f6581bc524353d7e783abbe9a94316
System libraries go *after* user libraries in link commands, because
the user libraries may themselves have dependencies that are satisfied
by the system libraries.  It's not rocket science!

This makes a difference with some linkers; or with -static or --as-needed.

The examples/Makefile fix is from Charles Plessy.
See also http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=606004
Makefile
bcftools/Makefile
examples/Makefile