[Heimdal-source-changes] [heimdal/heimdal] a7f873: Fix #182, add -lpthread to libheimbase as needed

GitHub noreply at github.com
Fre Dec 9 01:46:17 CET 2016


  Branch: refs/heads/master
  Home:   https://github.com/heimdal/heimdal
  Commit: a7f8732d79cb6601d24f21a290ccdb070d94b51e
      https://github.com/heimdal/heimdal/commit/a7f8732d79cb6601d24f21a290ccdb070d94b51e
  Author: Nicolas Williams <nico at twosigma.com>
  Date:   2016-12-08 (Thu, 08 Dec 2016)

  Changed paths:
    M lib/base/Makefile.am

  Log Message:
  -----------
  Fix #182, add -lpthread to libheimbase as needed

We should really check whether pthread_once() is in libc so that then we
don't have to add an unnecessary dependency on -lpthread.

Also, we have a proper once implementation that we could use when we
don't have pthread_once(), so we should fallback on that if we detect
that we have neither pthread_once() in libc and --disable-pthread is
given.




More information about the Heimdal-source-changes mailing list