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

Simon Schubert corecode at crater.dragonflybsd.org
Wed Oct 7 10:36:40 PDT 2009


commit 54674d33687b187876e5b9d260d3ae6aa1f0261c
Author: Simon Schubert <corecode at 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





More information about the Commits mailing list