cvs commit: src/lib Makefile src/lib/libpthread Makefile README dummy.c

Simon Schubert corecode at crater.dragonflybsd.org
Tue Apr 17 05:35:02 PDT 2007


corecode    2007/04/17 05:34:07 PDT

DragonFly src repository

  Modified files:
    lib                  Makefile 
  Added files:
    lib/libpthread       Makefile README dummy.c 
  Log:
  Add a proxy libpthread.
  
  In short, it works like this:  ld uses libpthread.so when linking.  There
  the SONAME is set to libpthread.so.0.  This however is a symlink (or maybe
  varsymlink) to one of the threading libs.  Voila, threading libs can be
  switched at execution time and we won't get breakage because of two different
  threading libs being used in the same binary.
  
  Idea-by:  joerg and me.
  
  Revision  Changes    Path
  1.29      +4 -3      src/lib/Makefile


http://www.dragonflybsd.org/cvsweb/src/lib/Makefile.diff?r1=1.28&r2=1.29&f=u





More information about the Commits mailing list