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

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


From: Simon Schubert <corecode@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Wed, 14 Oct 2009 05:33:00 -0700 (PDT)

commit 7543a2bfde61b72e22b45e2b619c046b4313d70c
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/7543a2bfde61b72e22b45e2b619c046b4313d70c


-- 
DragonFly BSD source repository



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