Git fails to build if LIBS contains -lpthread.  To reproduce:

  export LIBS=-lpthread
  make V=1 git-credential-store

The bug is that linker command line does not contain -lpthread, so
linking fails.

configure respects LIBS and finds that it does not have to add
anything for pthread:

checking for POSIX Threads with ''... yes

But (first bug) configure does not pass the LIBS variable in
config.mak.autogen.  Even if it did, Makefile would overwrite (second
bug) LIBS with:


Makefile should rather append to LIBS.

Dmitri Gribenko

(j){printf("%d\n",i);}}} /*Dmitri Gribenko <griboz...@gmail.com>*/
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to