Created an attachment (id=497)
patch to fix overlinking of pthreads for autotools
I fixed the pkg-config files to work with threads again and I removed pthread_libs from libs to avoid future overlinking.
A patch for cmake will follow soon.
#2 Updated by Christoph Junghans about 10 years ago
This is a problem on all platforms due to the fact that you never know with what
thread flags/libs gromacs was compiled.
So if there are two thread implementations on your system you will have to guess which one gromacs has used to link against any gromacs lib ;-)
Actually libgmxana does not even depend on threads directly, which is overlinking. However as libgmxana depends on libmd is does not matter in this case. That is why the threads flags are still in libgmxana.pc.in