git: DragonFly_RELEASE_2_4 thread libs: move libc_r and libthread_xu to /usr/lib/thread
Simon Schubert
corecode at crater.dragonflybsd.org
Wed Oct 14 05:34:53 PDT 2009
commit 7543a2bfde61b72e22b45e2b619c046b4313d70c
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/7543a2bfde61b72e22b45e2b619c046b4313d70c
--
DragonFly BSD source repository
More information about the Commits
mailing list