Closed jregalad closed 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.
Do: ./configure --enable-all-static. If compilation fails, you may have to change -lpthread to -pthread in the Makefile, in the AM_LDFLAGS variable.
./configure --enable-all-static
-lpthread
-pthread
AM_LDFLAGS
Works like a charm!!! Thanks
I tried with:
CXXFLAGS = -static
but it didn't work.
I need this because I am in a system with old C libraries.