DragonFly BSD
DragonFly commits List (threaded) for 2009-10
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

git: thread libs: move libc_r and libthread_xu to /usr/lib/thread


From: Simon Schubert <corecode@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Wed, 7 Oct 2009 10:35:32 -0700 (PDT)

commit 54674d33687b187876e5b9d260d3ae6aa1f0261c
Author: Simon Schubert <corecode@dragonflybsd.org>
Date:   Wed Oct 7 02:27:42 2009 +0200

    thread libs: move libc_r and libthread_xu to /usr/lib/thread
    
    This is so that badly written programs don't mistakenly pick up either
    libc_r or libthread_xu.  The only correct way to get threading support
    is to link to libpthread.
    
    By moving the underlaying thread libs to a directory that is not
    searched by the linker, we can enforce this policy.
    
    Requested-by:  hasso@

Summary of changes:
 Makefile_upgrade.inc      |    2 ++
 etc/mtree/BSD.usr.dist    |    2 ++
 lib/libc_r/Makefile       |    3 +++
 lib/libpthread/Makefile   |    4 ++--
 lib/libthread_xu/Makefile |    3 +++
 5 files changed, 12 insertions(+), 2 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/54674d33687b187876e5b9d260d3ae6aa1f0261c


-- 
DragonFly BSD source repository



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]