biod / sambamba

Tools for working with SAM/BAM data
http://thebird.nl/blog/D_Dragon.html
GNU General Public License v2.0
555 stars 104 forks source link

disable linking of default shared libs on static build #469

Closed tolot27 closed 3 years ago

tolot27 commented 3 years ago

In some environments (i. e. Ubuntu 18.04 and 20.04 with LDC v1.8) make static fails with the following error message:

Error: Can't use -link-defaultlib-shared and -static together
Makefile:89: recipe for target 'singleobj' failed
make: *** [singleobj] Error 1

This PR just disables the linking of default shared libs, which is intentional on static builds.

pjotrp commented 3 years ago

Thanks!