gmarcais / Jellyfish

A fast multi-threaded k-mer counter
Other
471 stars 136 forks source link

Is there a way to build jellyfish statically linking libraries? #97

Closed jregalad closed 7 years ago

jregalad commented 7 years ago

I tried with:

CXXFLAGS = -static

but it didn't work.

I need this because I am in a system with old C libraries.

gmarcais commented 7 years ago

Do: ./configure --enable-all-static. If compilation fails, you may have to change -lpthread to -pthread in the Makefile, in the AM_LDFLAGS variable.

jregalad commented 7 years ago

Works like a charm!!! Thanks