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

看板DFBSD_commit作者時間16年前 (2009/10/08 02:01), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/1
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
文章代碼(AID): #1ApDTiuO (DFBSD_commit)