git: gcc 44: Change shared library search order (embedded rpath)

看板DFBSD_commit作者時間14年前 (2011/05/17 07:33), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/1
commit e42b0192f1e7ce6df0aa461075bde4978fa72adc Author: John Marino <draco@marino.st> Date: Thu May 12 07:57:56 2011 +0200 gcc 44: Change shared library search order (embedded rpath) GCC 4.4.x has always created shared libraries with embedded rpath of /usr/lib/gcc44:/usr/lib. There are only two shared libraries in /usr/lib/gcc44 which are stdc++ and obj-c. There are 73 shared libraries at /usr/lib, including the c library. Reversing the rpath order will cause many more library searchs to be successful on the first hit. When searching for a library created by pkgsrc, there is no difference. In that case, /usr/pkg/lib becomes the third directory in the search path and relative order of the first two is irrelevant as both fail. Summary of changes: gnu/usr.bin/cc44/cc_prep/config/dragonfly-native.h | 29 ++++++++++--------- 1 files changed, 15 insertions(+), 14 deletions(-) http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/e42b0192f1e7ce6df0aa461075bde4978fa72adc -- DragonFly BSD source repository
文章代碼(AID): #1DqRHDXd (DFBSD_commit)